pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/py-arabic-reshaper py-arabic-reshaper: adde...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7edd2027d021
branches: trunk
changeset: 451556:7edd2027d021
user: adam <adam%pkgsrc.org@localhost>
date: Wed Apr 28 09:52:17 2021 +0000
description:
py-arabic-reshaper: added version 2.1.3
Reconstruct Arabic sentences to be used in applications that don't support
Arabic script.
diffstat:
converters/py-arabic-reshaper/DESCR | 2 +
converters/py-arabic-reshaper/Makefile | 24 ++++++++++++++++++++
converters/py-arabic-reshaper/PLIST | 24 ++++++++++++++++++++
converters/py-arabic-reshaper/distinfo | 7 +++++
converters/py-arabic-reshaper/patches/patch-setup.py | 17 ++++++++++++++
5 files changed, 74 insertions(+), 0 deletions(-)
diffs (94 lines):
diff -r 55138820da5b -r 7edd2027d021 converters/py-arabic-reshaper/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-arabic-reshaper/DESCR Wed Apr 28 09:52:17 2021 +0000
@@ -0,0 +1,2 @@
+Reconstruct Arabic sentences to be used in applications that don't support
+Arabic script.
diff -r 55138820da5b -r 7edd2027d021 converters/py-arabic-reshaper/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-arabic-reshaper/Makefile Wed Apr 28 09:52:17 2021 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2021/04/28 09:52:17 adam Exp $
+
+DISTNAME= arabic_reshaper-2.1.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES= converters python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/arabic-reshaper/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mpcabd/python-arabic-reshaper
+COMMENT= Reconstruct Arabic sentences
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
+DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
+.endif
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 55138820da5b -r 7edd2027d021 converters/py-arabic-reshaper/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-arabic-reshaper/PLIST Wed Apr 28 09:52:17 2021 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/28 09:52:17 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/arabic_reshaper/__init__.py
+${PYSITELIB}/arabic_reshaper/__init__.pyc
+${PYSITELIB}/arabic_reshaper/__init__.pyo
+${PYSITELIB}/arabic_reshaper/__version__.py
+${PYSITELIB}/arabic_reshaper/__version__.pyc
+${PYSITELIB}/arabic_reshaper/__version__.pyo
+${PYSITELIB}/arabic_reshaper/arabic_reshaper.py
+${PYSITELIB}/arabic_reshaper/arabic_reshaper.pyc
+${PYSITELIB}/arabic_reshaper/arabic_reshaper.pyo
+${PYSITELIB}/arabic_reshaper/letters.py
+${PYSITELIB}/arabic_reshaper/letters.pyc
+${PYSITELIB}/arabic_reshaper/letters.pyo
+${PYSITELIB}/arabic_reshaper/ligatures.py
+${PYSITELIB}/arabic_reshaper/ligatures.pyc
+${PYSITELIB}/arabic_reshaper/ligatures.pyo
+${PYSITELIB}/arabic_reshaper/reshaper_config.py
+${PYSITELIB}/arabic_reshaper/reshaper_config.pyc
+${PYSITELIB}/arabic_reshaper/reshaper_config.pyo
diff -r 55138820da5b -r 7edd2027d021 converters/py-arabic-reshaper/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-arabic-reshaper/distinfo Wed Apr 28 09:52:17 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/04/28 09:52:17 adam Exp $
+
+SHA1 (arabic_reshaper-2.1.3.tar.gz) = dd4d0c488548d81505c295e028d42a3b231d9443
+RMD160 (arabic_reshaper-2.1.3.tar.gz) = cd1cc026611d6dac56a7e036e699eea06f676c04
+SHA512 (arabic_reshaper-2.1.3.tar.gz) = c0236fd481aeef56d2f56f2ddb642a71c011d7c34cd66002346d47dc9f73595934f26f375d67bfc62b48cabda911aafb2b86abc05f417ddb0d33874af2eca2da
+Size (arabic_reshaper-2.1.3.tar.gz) = 24460 bytes
+SHA1 (patch-setup.py) = 5f02d203fec48318bc6527c3747b62515c886032
diff -r 55138820da5b -r 7edd2027d021 converters/py-arabic-reshaper/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-arabic-reshaper/patches/patch-setup.py Wed Apr 28 09:52:17 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-setup.py,v 1.1 2021/04/28 09:52:18 adam Exp $
+
+Fix building with Python 2.7.
+
+--- setup.py.orig 2021-04-28 09:49:06.000000000 +0000
++++ setup.py
+@@ -5,8 +5,8 @@ from setuptools import setup
+
+ import os
+
+-with open("README.md", "r", encoding="utf-8") as fh:
+- long_description = fh.read()
++with open("README.md", "rb") as fh:
++ long_description = fh.read().decode("utf-8")
+
+ setup(
+ name="arabic_reshaper",
Home |
Main Index |
Thread Index |
Old Index