pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/py-arabic-reshaper
Module Name: pkgsrc
Committed By: adam
Date: Wed Apr 28 09:52:18 UTC 2021
Added Files:
pkgsrc/converters/py-arabic-reshaper: DESCR Makefile PLIST distinfo
pkgsrc/converters/py-arabic-reshaper/patches: patch-setup.py
Log Message:
py-arabic-reshaper: added version 2.1.3
Reconstruct Arabic sentences to be used in applications that don't support
Arabic script.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/py-arabic-reshaper/DESCR \
pkgsrc/converters/py-arabic-reshaper/Makefile \
pkgsrc/converters/py-arabic-reshaper/PLIST \
pkgsrc/converters/py-arabic-reshaper/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/converters/py-arabic-reshaper/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/converters/py-arabic-reshaper/DESCR
diff -u /dev/null pkgsrc/converters/py-arabic-reshaper/DESCR:1.1
--- /dev/null Wed Apr 28 09:52:18 2021
+++ pkgsrc/converters/py-arabic-reshaper/DESCR Wed Apr 28 09:52:17 2021
@@ -0,0 +1,2 @@
+Reconstruct Arabic sentences to be used in applications that don't support
+Arabic script.
Index: pkgsrc/converters/py-arabic-reshaper/Makefile
diff -u /dev/null pkgsrc/converters/py-arabic-reshaper/Makefile:1.1
--- /dev/null Wed Apr 28 09:52:18 2021
+++ pkgsrc/converters/py-arabic-reshaper/Makefile Wed Apr 28 09:52:17 2021
@@ -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"
Index: pkgsrc/converters/py-arabic-reshaper/PLIST
diff -u /dev/null pkgsrc/converters/py-arabic-reshaper/PLIST:1.1
--- /dev/null Wed Apr 28 09:52:18 2021
+++ pkgsrc/converters/py-arabic-reshaper/PLIST Wed Apr 28 09:52:17 2021
@@ -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
Index: pkgsrc/converters/py-arabic-reshaper/distinfo
diff -u /dev/null pkgsrc/converters/py-arabic-reshaper/distinfo:1.1
--- /dev/null Wed Apr 28 09:52:18 2021
+++ pkgsrc/converters/py-arabic-reshaper/distinfo Wed Apr 28 09:52:17 2021
@@ -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
Index: pkgsrc/converters/py-arabic-reshaper/patches/patch-setup.py
diff -u /dev/null pkgsrc/converters/py-arabic-reshaper/patches/patch-setup.py:1.1
--- /dev/null Wed Apr 28 09:52:18 2021
+++ pkgsrc/converters/py-arabic-reshaper/patches/patch-setup.py Wed Apr 28 09:52:18 2021
@@ -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