pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-faker Deal with lack of Python 3.x support in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e71c6428251
branches:  trunk
changeset: 363834:2e71c6428251
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 17 19:37:12 2017 +0000

description:
Deal with lack of Python 3.x support in Python 2.7.

diffstat:

 devel/py-faker/Makefile |   13 +-
 devel/py-faker/PLIST    |  527 ++++++++++++++++++++++++-----------------------
 2 files changed, 275 insertions(+), 265 deletions(-)

diffs (truncated from 1022 to 300 lines):

diff -r af6eb19175f2 -r 2e71c6428251 devel/py-faker/Makefile
--- a/devel/py-faker/Makefile   Sat Jun 17 19:36:46 2017 +0000
+++ b/devel/py-faker/Makefile   Sat Jun 17 19:37:12 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/04/24 16:38:54 darcy Exp $
+# $NetBSD: Makefile,v 1.2 2017/06/17 19:37:12 joerg Exp $
 
 VERS=            0.7.11
 DISTNAME=        Faker-${VERS}
@@ -13,5 +13,14 @@
 
 DEPENDS += ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/pyversion.mk"
+
+PLIST_VARS+=   python2 python3
+.if !empty(PYVERSSUFFIX:M2.*)
+PLIST.python2= yes
+.elif !empty(PYVERSSUFFIX:M3.*)
+PLIST.python3= yes
+.endif
+
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r af6eb19175f2 -r 2e71c6428251 devel/py-faker/PLIST
--- a/devel/py-faker/PLIST      Sat Jun 17 19:36:46 2017 +0000
+++ b/devel/py-faker/PLIST      Sat Jun 17 19:37:12 2017 +0000
@@ -1,729 +1,730 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/24 16:38:54 darcy Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/06/17 19:37:12 joerg Exp $
 bin/faker
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/entry_points.txt
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
-${PYSITELIB}/${EGG_FILE}/zip-safe
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PLIST.python2}${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PLIST.python3}${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/faker/__init__.py
+${PYSITELIB}/faker/__init__.pyc
+${PYSITELIB}/faker/__init__.pyo
 ${PYSITELIB}/faker/__main__.py
-${PYSITELIB}/faker/__init__.pyo
-${PYSITELIB}/faker/__init__.pyc
+${PYSITELIB}/faker/__main__.pyc
 ${PYSITELIB}/faker/__main__.pyo
-${PYSITELIB}/faker/__main__.pyc
+${PYSITELIB}/faker/build_docs.py
+${PYSITELIB}/faker/build_docs.pyc
 ${PYSITELIB}/faker/build_docs.pyo
-${PYSITELIB}/faker/build_docs.pyc
-${PYSITELIB}/faker/cli.pyo
+${PYSITELIB}/faker/cli.py
 ${PYSITELIB}/faker/cli.pyc
+${PYSITELIB}/faker/cli.pyo
+${PYSITELIB}/faker/config.py
+${PYSITELIB}/faker/config.pyc
 ${PYSITELIB}/faker/config.pyo
-${PYSITELIB}/faker/config.pyc
+${PYSITELIB}/faker/documentor.py
+${PYSITELIB}/faker/documentor.pyc
 ${PYSITELIB}/faker/documentor.pyo
-${PYSITELIB}/faker/documentor.pyc
-${PYSITELIB}/faker/factory.pyo
+${PYSITELIB}/faker/factory.py
 ${PYSITELIB}/faker/factory.pyc
-${PYSITELIB}/faker/generator.pyo
-${PYSITELIB}/faker/generator.pyc
-${PYSITELIB}/faker/build_docs.py
-${PYSITELIB}/faker/cli.py
-${PYSITELIB}/faker/config.py
-${PYSITELIB}/faker/documentor.py
-${PYSITELIB}/faker/factory.py
+${PYSITELIB}/faker/factory.pyo
 ${PYSITELIB}/faker/generator.py
+${PYSITELIB}/faker/generator.pyc
+${PYSITELIB}/faker/generator.pyo
 ${PYSITELIB}/faker/providers/__init__.py
-${PYSITELIB}/faker/providers/__init__.pyo
 ${PYSITELIB}/faker/providers/__init__.pyc
+${PYSITELIB}/faker/providers/__init__.pyo
 ${PYSITELIB}/faker/providers/address/__init__.py
-${PYSITELIB}/faker/providers/address/__init__.pyo
 ${PYSITELIB}/faker/providers/address/__init__.pyc
+${PYSITELIB}/faker/providers/address/__init__.pyo
 ${PYSITELIB}/faker/providers/address/cs_CZ/__init__.py
-${PYSITELIB}/faker/providers/address/cs_CZ/__init__.pyo
 ${PYSITELIB}/faker/providers/address/cs_CZ/__init__.pyc
+${PYSITELIB}/faker/providers/address/cs_CZ/__init__.pyo
 ${PYSITELIB}/faker/providers/address/de_DE/__init__.py
-${PYSITELIB}/faker/providers/address/de_DE/__init__.pyo
 ${PYSITELIB}/faker/providers/address/de_DE/__init__.pyc
+${PYSITELIB}/faker/providers/address/de_DE/__init__.pyo
 ${PYSITELIB}/faker/providers/address/el_GR/__init__.py
+${PYSITELIB}/faker/providers/address/el_GR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/el_GR/__init__.pyo
-${PYSITELIB}/faker/providers/address/el_GR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en/__init__.py
+${PYSITELIB}/faker/providers/address/en/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en/__init__.pyo
-${PYSITELIB}/faker/providers/address/en/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_AU/__init__.py
+${PYSITELIB}/faker/providers/address/en_AU/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_AU/__init__.pyo
-${PYSITELIB}/faker/providers/address/en_AU/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_CA/__init__.py
+${PYSITELIB}/faker/providers/address/en_CA/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_CA/__init__.pyo
-${PYSITELIB}/faker/providers/address/en_CA/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_GB/__init__.py
+${PYSITELIB}/faker/providers/address/en_GB/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_GB/__init__.pyo
-${PYSITELIB}/faker/providers/address/en_GB/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_US/__init__.py
+${PYSITELIB}/faker/providers/address/en_US/__init__.pyc
 ${PYSITELIB}/faker/providers/address/en_US/__init__.pyo
-${PYSITELIB}/faker/providers/address/en_US/__init__.pyc
 ${PYSITELIB}/faker/providers/address/es/__init__.py
+${PYSITELIB}/faker/providers/address/es/__init__.pyc
 ${PYSITELIB}/faker/providers/address/es/__init__.pyo
-${PYSITELIB}/faker/providers/address/es/__init__.pyc
 ${PYSITELIB}/faker/providers/address/es_ES/__init__.py
+${PYSITELIB}/faker/providers/address/es_ES/__init__.pyc
 ${PYSITELIB}/faker/providers/address/es_ES/__init__.pyo
-${PYSITELIB}/faker/providers/address/es_ES/__init__.pyc
 ${PYSITELIB}/faker/providers/address/es_MX/__init__.py
+${PYSITELIB}/faker/providers/address/es_MX/__init__.pyc
 ${PYSITELIB}/faker/providers/address/es_MX/__init__.pyo
-${PYSITELIB}/faker/providers/address/es_MX/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fa_IR/__init__.py
+${PYSITELIB}/faker/providers/address/fa_IR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fa_IR/__init__.pyo
-${PYSITELIB}/faker/providers/address/fa_IR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fi_FI/__init__.py
+${PYSITELIB}/faker/providers/address/fi_FI/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fi_FI/__init__.pyo
-${PYSITELIB}/faker/providers/address/fi_FI/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fr_CH/__init__.py
+${PYSITELIB}/faker/providers/address/fr_CH/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fr_CH/__init__.pyo
-${PYSITELIB}/faker/providers/address/fr_CH/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fr_FR/__init__.py
+${PYSITELIB}/faker/providers/address/fr_FR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/fr_FR/__init__.pyo
-${PYSITELIB}/faker/providers/address/fr_FR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/hi_IN/__init__.py
+${PYSITELIB}/faker/providers/address/hi_IN/__init__.pyc
 ${PYSITELIB}/faker/providers/address/hi_IN/__init__.pyo
-${PYSITELIB}/faker/providers/address/hi_IN/__init__.pyc
 ${PYSITELIB}/faker/providers/address/hr_HR/__init__.py
+${PYSITELIB}/faker/providers/address/hr_HR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/hr_HR/__init__.pyo
-${PYSITELIB}/faker/providers/address/hr_HR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/hu_HU/__init__.py
+${PYSITELIB}/faker/providers/address/hu_HU/__init__.pyc
 ${PYSITELIB}/faker/providers/address/hu_HU/__init__.pyo
-${PYSITELIB}/faker/providers/address/hu_HU/__init__.pyc
 ${PYSITELIB}/faker/providers/address/it_IT/__init__.py
-${PYSITELIB}/faker/providers/address/it_IT/__init__.pyo
 ${PYSITELIB}/faker/providers/address/it_IT/__init__.pyc
+${PYSITELIB}/faker/providers/address/it_IT/__init__.pyo
 ${PYSITELIB}/faker/providers/address/ja_JP/__init__.py
-${PYSITELIB}/faker/providers/address/ja_JP/__init__.pyo
 ${PYSITELIB}/faker/providers/address/ja_JP/__init__.pyc
+${PYSITELIB}/faker/providers/address/ja_JP/__init__.pyo
 ${PYSITELIB}/faker/providers/address/ko_KR/__init__.py
-${PYSITELIB}/faker/providers/address/ko_KR/__init__.pyo
 ${PYSITELIB}/faker/providers/address/ko_KR/__init__.pyc
+${PYSITELIB}/faker/providers/address/ko_KR/__init__.pyo
 ${PYSITELIB}/faker/providers/address/ne_NP/__init__.py
+${PYSITELIB}/faker/providers/address/ne_NP/__init__.pyc
 ${PYSITELIB}/faker/providers/address/ne_NP/__init__.pyo
-${PYSITELIB}/faker/providers/address/ne_NP/__init__.pyc
 ${PYSITELIB}/faker/providers/address/nl_BE/__init__.py
+${PYSITELIB}/faker/providers/address/nl_BE/__init__.pyc
 ${PYSITELIB}/faker/providers/address/nl_BE/__init__.pyo
-${PYSITELIB}/faker/providers/address/nl_BE/__init__.pyc
 ${PYSITELIB}/faker/providers/address/nl_NL/__init__.py
+${PYSITELIB}/faker/providers/address/nl_NL/__init__.pyc
 ${PYSITELIB}/faker/providers/address/nl_NL/__init__.pyo
-${PYSITELIB}/faker/providers/address/nl_NL/__init__.pyc
 ${PYSITELIB}/faker/providers/address/no_NO/__init__.py
+${PYSITELIB}/faker/providers/address/no_NO/__init__.pyc
 ${PYSITELIB}/faker/providers/address/no_NO/__init__.pyo
-${PYSITELIB}/faker/providers/address/no_NO/__init__.pyc
 ${PYSITELIB}/faker/providers/address/pl_PL/__init__.py
+${PYSITELIB}/faker/providers/address/pl_PL/__init__.pyc
 ${PYSITELIB}/faker/providers/address/pl_PL/__init__.pyo
-${PYSITELIB}/faker/providers/address/pl_PL/__init__.pyc
 ${PYSITELIB}/faker/providers/address/pt_BR/__init__.py
+${PYSITELIB}/faker/providers/address/pt_BR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/pt_BR/__init__.pyo
-${PYSITELIB}/faker/providers/address/pt_BR/__init__.pyc
 ${PYSITELIB}/faker/providers/address/pt_PT/__init__.py
+${PYSITELIB}/faker/providers/address/pt_PT/__init__.pyc
 ${PYSITELIB}/faker/providers/address/pt_PT/__init__.pyo
-${PYSITELIB}/faker/providers/address/pt_PT/__init__.pyc
 ${PYSITELIB}/faker/providers/address/ru_RU/__init__.py
+${PYSITELIB}/faker/providers/address/ru_RU/__init__.pyc
 ${PYSITELIB}/faker/providers/address/ru_RU/__init__.pyo
-${PYSITELIB}/faker/providers/address/ru_RU/__init__.pyc
 ${PYSITELIB}/faker/providers/address/sk_SK/__init__.py
+${PYSITELIB}/faker/providers/address/sk_SK/__init__.pyc
 ${PYSITELIB}/faker/providers/address/sk_SK/__init__.pyo
-${PYSITELIB}/faker/providers/address/sk_SK/__init__.pyc
 ${PYSITELIB}/faker/providers/address/sl_SI/__init__.py
+${PYSITELIB}/faker/providers/address/sl_SI/__init__.pyc
 ${PYSITELIB}/faker/providers/address/sl_SI/__init__.pyo
-${PYSITELIB}/faker/providers/address/sl_SI/__init__.pyc
 ${PYSITELIB}/faker/providers/address/sv_SE/__init__.py
+${PYSITELIB}/faker/providers/address/sv_SE/__init__.pyc
 ${PYSITELIB}/faker/providers/address/sv_SE/__init__.pyo
-${PYSITELIB}/faker/providers/address/sv_SE/__init__.pyc
 ${PYSITELIB}/faker/providers/address/uk_UA/__init__.py
+${PYSITELIB}/faker/providers/address/uk_UA/__init__.pyc
 ${PYSITELIB}/faker/providers/address/uk_UA/__init__.pyo
-${PYSITELIB}/faker/providers/address/uk_UA/__init__.pyc
 ${PYSITELIB}/faker/providers/address/zh_CN/__init__.py
-${PYSITELIB}/faker/providers/address/zh_CN/__init__.pyo
 ${PYSITELIB}/faker/providers/address/zh_CN/__init__.pyc
+${PYSITELIB}/faker/providers/address/zh_CN/__init__.pyo
 ${PYSITELIB}/faker/providers/address/zh_TW/__init__.py
-${PYSITELIB}/faker/providers/address/zh_TW/__init__.pyo
 ${PYSITELIB}/faker/providers/address/zh_TW/__init__.pyc
+${PYSITELIB}/faker/providers/address/zh_TW/__init__.pyo
 ${PYSITELIB}/faker/providers/barcode/__init__.py
-${PYSITELIB}/faker/providers/barcode/__init__.pyo
 ${PYSITELIB}/faker/providers/barcode/__init__.pyc
+${PYSITELIB}/faker/providers/barcode/__init__.pyo
 ${PYSITELIB}/faker/providers/barcode/en_US/__init__.py
-${PYSITELIB}/faker/providers/barcode/en_US/__init__.pyo
 ${PYSITELIB}/faker/providers/barcode/en_US/__init__.pyc
+${PYSITELIB}/faker/providers/barcode/en_US/__init__.pyo
 ${PYSITELIB}/faker/providers/color/__init__.py
-${PYSITELIB}/faker/providers/color/__init__.pyo
 ${PYSITELIB}/faker/providers/color/__init__.pyc
+${PYSITELIB}/faker/providers/color/__init__.pyo
 ${PYSITELIB}/faker/providers/color/en_US/__init__.py
-${PYSITELIB}/faker/providers/color/en_US/__init__.pyo
 ${PYSITELIB}/faker/providers/color/en_US/__init__.pyc
+${PYSITELIB}/faker/providers/color/en_US/__init__.pyo
 ${PYSITELIB}/faker/providers/color/fr_FR/__init__.py
-${PYSITELIB}/faker/providers/color/fr_FR/__init__.pyo
 ${PYSITELIB}/faker/providers/color/fr_FR/__init__.pyc
+${PYSITELIB}/faker/providers/color/fr_FR/__init__.pyo
 ${PYSITELIB}/faker/providers/color/ru_RU/__init__.py
+${PYSITELIB}/faker/providers/color/ru_RU/__init__.pyc
 ${PYSITELIB}/faker/providers/color/ru_RU/__init__.pyo
-${PYSITELIB}/faker/providers/color/ru_RU/__init__.pyc
 ${PYSITELIB}/faker/providers/color/uk_UA/__init__.py
+${PYSITELIB}/faker/providers/color/uk_UA/__init__.pyc
 ${PYSITELIB}/faker/providers/color/uk_UA/__init__.pyo
-${PYSITELIB}/faker/providers/color/uk_UA/__init__.pyc
 ${PYSITELIB}/faker/providers/company/__init__.py
+${PYSITELIB}/faker/providers/company/__init__.pyc
 ${PYSITELIB}/faker/providers/company/__init__.pyo
-${PYSITELIB}/faker/providers/company/__init__.pyc
 ${PYSITELIB}/faker/providers/company/bg_BG/__init__.py
+${PYSITELIB}/faker/providers/company/bg_BG/__init__.pyc
 ${PYSITELIB}/faker/providers/company/bg_BG/__init__.pyo
-${PYSITELIB}/faker/providers/company/bg_BG/__init__.pyc
 ${PYSITELIB}/faker/providers/company/cs_CZ/__init__.py
+${PYSITELIB}/faker/providers/company/cs_CZ/__init__.pyc
 ${PYSITELIB}/faker/providers/company/cs_CZ/__init__.pyo
-${PYSITELIB}/faker/providers/company/cs_CZ/__init__.pyc
 ${PYSITELIB}/faker/providers/company/de_DE/__init__.py
+${PYSITELIB}/faker/providers/company/de_DE/__init__.pyc
 ${PYSITELIB}/faker/providers/company/de_DE/__init__.pyo
-${PYSITELIB}/faker/providers/company/de_DE/__init__.pyc
 ${PYSITELIB}/faker/providers/company/en_US/__init__.py
+${PYSITELIB}/faker/providers/company/en_US/__init__.pyc
 ${PYSITELIB}/faker/providers/company/en_US/__init__.pyo
-${PYSITELIB}/faker/providers/company/en_US/__init__.pyc
 ${PYSITELIB}/faker/providers/company/es_MX/__init__.py
+${PYSITELIB}/faker/providers/company/es_MX/__init__.pyc
 ${PYSITELIB}/faker/providers/company/es_MX/__init__.pyo
-${PYSITELIB}/faker/providers/company/es_MX/__init__.pyc
 ${PYSITELIB}/faker/providers/company/fa_IR/__init__.py
+${PYSITELIB}/faker/providers/company/fa_IR/__init__.pyc
 ${PYSITELIB}/faker/providers/company/fa_IR/__init__.pyo
-${PYSITELIB}/faker/providers/company/fa_IR/__init__.pyc
 ${PYSITELIB}/faker/providers/company/fi_FI/__init__.py
+${PYSITELIB}/faker/providers/company/fi_FI/__init__.pyc
 ${PYSITELIB}/faker/providers/company/fi_FI/__init__.pyo
-${PYSITELIB}/faker/providers/company/fi_FI/__init__.pyc
 ${PYSITELIB}/faker/providers/company/fr_CH/__init__.py
+${PYSITELIB}/faker/providers/company/fr_CH/__init__.pyc
 ${PYSITELIB}/faker/providers/company/fr_CH/__init__.pyo
-${PYSITELIB}/faker/providers/company/fr_CH/__init__.pyc
 ${PYSITELIB}/faker/providers/company/fr_FR/__init__.py
+${PYSITELIB}/faker/providers/company/fr_FR/__init__.pyc



Home | Main Index | Thread Index | Old Index