python-libraries: Remove Python 2 variants 11740/head
authorJeffery To <jeffery.to@gmail.com>
Wed, 1 Apr 2020 14:21:16 +0000 (22:21 +0800)
committerJeffery To <jeffery.to@gmail.com>
Thu, 2 Apr 2020 06:57:30 +0000 (14:57 +0800)
The Python 2 variants will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
78 files changed:
lang/python/bcrypt/Makefile
lang/python/django-appconf/Makefile
lang/python/django-compressor/Makefile
lang/python/django-constance/Makefile
lang/python/django-formtools/Makefile
lang/python/django-jsonfield/Makefile
lang/python/django-picklefield/Makefile
lang/python/django-postoffice/Makefile
lang/python/django-ranged-response/Makefile
lang/python/django-restframework39/Makefile
lang/python/django-simple-captcha/Makefile
lang/python/django-statici18n/Makefile
lang/python/django-webpack-loader/Makefile
lang/python/django1/Makefile
lang/python/flup/Makefile
lang/python/gunicorn/Makefile
lang/python/openpyxl/Makefile
lang/python/passlib/Makefile
lang/python/pillow/Makefile
lang/python/pyjwt/Makefile
lang/python/pyodbc/Makefile
lang/python/python-astral/Makefile
lang/python/python-attrs/Makefile
lang/python/python-automat/Makefile
lang/python/python-awscli/Makefile
lang/python/python-botocore/Makefile
lang/python/python-certifi/Makefile
lang/python/python-cffi/Makefile
lang/python/python-chardet/Makefile
lang/python/python-colorama/Makefile
lang/python/python-constantly/Makefile
lang/python/python-crypto/Makefile
lang/python/python-cryptodome/Makefile
lang/python/python-cryptodomex/Makefile
lang/python/python-cryptography/Makefile
lang/python/python-curl/Makefile
lang/python/python-dateutil/Makefile
lang/python/python-defusedxml/Makefile
lang/python/python-dns/Makefile
lang/python/python-docutils/Makefile
lang/python/python-et_xmlfile/Makefile
lang/python/python-evdev/Makefile
lang/python/python-gmpy2/Makefile
lang/python/python-gnupg/Makefile
lang/python/python-hyperlink/Makefile
lang/python/python-idna/Makefile
lang/python/python-incremental/Makefile
lang/python/python-jdcal/Makefile
lang/python/python-jmespath/Makefile
lang/python/python-libmodbus/Makefile
lang/python/python-lxml/Makefile
lang/python/python-mysqlclient/Makefile
lang/python/python-oauthlib/Makefile
lang/python/python-parsley/Makefile
lang/python/python-ply/Makefile
lang/python/python-pyasn1-modules/Makefile
lang/python/python-pyasn1/Makefile
lang/python/python-pycparser/Makefile
lang/python/python-pyopenssl/Makefile
lang/python/python-pyserial/Makefile
lang/python/python-pytz/Makefile
lang/python/python-qrcode/Makefile
lang/python/python-rcssmin/Makefile
lang/python/python-requests-oauthlib/Makefile
lang/python/python-requests/Makefile
lang/python/python-rsa/Makefile
lang/python/python-s3transfer/Makefile
lang/python/python-service-identity/Makefile
lang/python/python-simplejson/Makefile
lang/python/python-six/Makefile
lang/python/python-twisted/Makefile
lang/python/python-urllib3/Makefile
lang/python/python-voluptuous/Makefile
lang/python/python-yaml/Makefile
lang/python/python-zope-interface/Makefile
lang/python/ruamel-yaml/Makefile
lang/python/text-unidecode/Makefile
lang/python/vobject/Makefile

index eb56b00e44644922ce29d8472911be8216dbb839..90c53bd63780692bd352cbe1f9e8fcf11d2aa34d 100644 (file)
@@ -16,12 +16,10 @@ PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
 
 PKG_BUILD_DEPENDS:=libffi/host
-HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi>=1.1"
 HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.1"
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/bcrypt/Default
@@ -32,15 +30,6 @@ define Package/bcrypt/Default
   URL:=https://github.com/pyca/bcrypt/
 endef
 
-define Package/python-bcrypt
-$(call Package/bcrypt/Default)
-  DEPENDS:= \
-       +PACKAGE_python-bcrypt:python \
-       +PACKAGE_python-bcrypt:python-cffi \
-       +PACKAGE_python-bcrypt:python-six
-  VARIANT:=python
-endef
-
 define Package/python3-bcrypt
 $(call Package/bcrypt/Default)
   DEPENDS:= \
@@ -50,20 +39,12 @@ $(call Package/bcrypt/Default)
   VARIANT:=python3
 endef
 
-define Package/python-bcrypt/description
-  Good password hashing for your software and your servers.
-endef
-
 define Package/python3-bcrypt/description
-$(call Package/python-bcrypt/description)
+  Good password hashing for your software and your servers.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-bcrypt))
-$(eval $(call BuildPackage,python-bcrypt))
-$(eval $(call BuildPackage,python-bcrypt-src))
-
 $(eval $(call Py3Package,python3-bcrypt))
 $(eval $(call BuildPackage,python3-bcrypt))
 $(eval $(call BuildPackage,python3-bcrypt-src))
index 34ce696e99387093ee5b2eefc4a236406d653fd1..21aee4f8dbee1998bcc119cf3d9de9c625d0f47c 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-appconf/Default
@@ -31,20 +30,6 @@ define Package/django-appconf/Default
   URL:=https://django-appconf.readthedocs.io
 endef
 
-define Package/python-django-appconf
-$(call Package/django-appconf/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-appconf:python \
-       python-django1 \
-       +PACKAGE_python-django-appconf:python-six
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-appconf/description
-  A helper class for handling configuration defaults of packaged apps gracefully
-endef
-
 define Package/python3-django-appconf
 $(call Package/django-appconf/Default)
   DEPENDS:= \
@@ -55,15 +40,11 @@ $(call Package/django-appconf/Default)
 endef
 
 define Package/python3-django-appconf/description
-$(call Package/python-django-appconf/description)
+  A helper class for handling configuration defaults of packaged apps gracefully
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-appconf))
-$(eval $(call BuildPackage,python-django-appconf))
-$(eval $(call BuildPackage,python-django-appconf-src))
-
 $(eval $(call Py3Package,python3-django-appconf))
 $(eval $(call BuildPackage,python3-django-appconf))
 $(eval $(call BuildPackage,python3-django-appconf-src))
index 0c277d362b468c183187bd258496ba8407d8e261..8f420a15371fc9fda68f4b1974aefd26620e9cdd 100644 (file)
@@ -21,7 +21,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-compressor/Default
@@ -32,24 +31,6 @@ define Package/django-compressor/Default
   URL:=https://django-compressor.readthedocs.io
 endef
 
-define Package/python-django-compressor
-$(call Package/django-compressor/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-compressor:python \
-       python-django1 \
-       +PACKAGE_python-django-compressor:python-django-appconf \
-       +PACKAGE_python-django-compressor:python-rcssmin
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-compressor/description
-  Compresses linked and inline JavaScript or CSS into single cached files.
-  Note that the JavaScript filter is not being installed as a dependency.
-  You'll need to build the rjsmin module (it is not par of the openwrt standard
-  feeds) to use JavaScript functionality.
-endef
-
 define Package/python3-django-compressor
 $(call Package/django-compressor/Default)
   DEPENDS:= \
@@ -61,15 +42,14 @@ $(call Package/django-compressor/Default)
 endef
 
 define Package/python3-django-compressor/description
-$(call Package/python-django-compressor/description)
+  Compresses linked and inline JavaScript or CSS into single cached files.
+  Note that the JavaScript filter is not being installed as a dependency.
+  You'll need to build the rjsmin module (it is not par of the openwrt standard
+  feeds) to use JavaScript functionality.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-compressor))
-$(eval $(call BuildPackage,python-django-compressor))
-$(eval $(call BuildPackage,python-django-compressor-src))
-
 $(eval $(call Py3Package,python3-django-compressor))
 $(eval $(call BuildPackage,python3-django-compressor))
 $(eval $(call BuildPackage,python3-django-compressor-src))
index 1332c44dc32b1aae10a7600d9eab53c0241d9347..0d5da2aae37d9fb2887f6d1595ad0e9da3fe4fc6 100644 (file)
@@ -19,7 +19,6 @@ PKG_LICENSE:=BSD-3-Clause
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-django-constance/Default
@@ -30,19 +29,6 @@ define Package/python-django-constance/Default
   URL:=https://github.com/jazzband/django-constance
 endef
 
-define Package/python-django-constance
-$(call Package/python-django-constance/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-constance:python \
-       python-django1
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-constance/description
-  Django live settings with pluggable backends, including Redis.
-endef
-
 define Package/python3-django-constance
 $(call Package/python-django-constance/Default)
   DEPENDS:= \
@@ -52,15 +38,11 @@ $(call Package/python-django-constance/Default)
 endef
 
 define Package/python3-django-constance/description
-$(call Package/python-django-constance/description)
+  Django live settings with pluggable backends, including Redis.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-constance))
-$(eval $(call BuildPackage,python-django-constance))
-$(eval $(call BuildPackage,python-django-constance-src))
-
 $(eval $(call Py3Package,python3-django-constance))
 $(eval $(call BuildPackage,python3-django-constance))
 $(eval $(call BuildPackage,python3-django-constance-src))
index c391da958746664b4703ff2a5789cb84fe620a35..3bbd46958655354a15833362614b2219ac7bd445 100644 (file)
@@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-formtools/Default
@@ -29,20 +28,6 @@ define Package/django-formtools/Default
   URL:=https://django-formtools.readthedocs.io
 endef
 
-define Package/python-django-formtools
-$(call Package/django-formtools/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-formtools:python \
-       python-django1
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-formtools/description
-  Django "formtools" is a set of high-level abstractions for Django forms.
-  Currently for form previews and multi-step forms.
-endef
-
 define Package/python3-django-formtools
 $(call Package/django-formtools/Default)
   DEPENDS:= \
@@ -52,15 +37,12 @@ $(call Package/django-formtools/Default)
 endef
 
 define Package/python3-django-formtools/description
-$(call Package/python-django-formtools/description)
+  Django "formtools" is a set of high-level abstractions for Django forms.
+  Currently for form previews and multi-step forms.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-formtools))
-$(eval $(call BuildPackage,python-django-formtools))
-$(eval $(call BuildPackage,python-django-formtools-src))
-
 $(eval $(call Py3Package,python3-django-formtools))
 $(eval $(call BuildPackage,python3-django-formtools))
 $(eval $(call BuildPackage,python3-django-formtools-src))
index 2ed18e8a59ded4c18177bb815f9cd73a8921b103..930be5b0d3c5be63162245f57e6ed645c1cb3b80 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-jsonfield/Default
@@ -31,21 +30,6 @@ define Package/django-jsonfield/Default
   URL:=https://github.com/rpkilby/jsonfield
 endef
 
-define Package/python-django-jsonfield
-$(call Package/django-jsonfield/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-jsonfield:python \
-       python-django1 \
-       +PACKAGE_python-django-jsonfield:python-six
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-jsonfield/description
-  jsonfield is a reusable model field that allows you to store validated
-  JSON, automatically handling serialization to and from the database.
-endef
-
 define Package/python3-django-jsonfield
 $(call Package/django-jsonfield/Default)
   DEPENDS:= \
@@ -56,15 +40,12 @@ $(call Package/django-jsonfield/Default)
 endef
 
 define Package/python3-django-jsonfield/description
-$(call Package/python-django-jsonfield/description)
+  jsonfield is a reusable model field that allows you to store validated
+  JSON, automatically handling serialization to and from the database.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-jsonfield))
-$(eval $(call BuildPackage,python-django-jsonfield))
-$(eval $(call BuildPackage,python-django-jsonfield-src))
-
 $(eval $(call Py3Package,python3-django-jsonfield))
 $(eval $(call BuildPackage,python3-django-jsonfield))
 $(eval $(call BuildPackage,python3-django-jsonfield-src))
index c240b3f49e390fbab3e779ac1043d45d41ec6d25..da3f4ee0594567c5312ee0a4a153abb0edcf5ee5 100644 (file)
@@ -20,11 +20,8 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
-PYTHON_PKG_SETUP_VARS:= \
-  PKG_VERSION="$(PKG_VERSION)"
 PYTHON3_PKG_SETUP_VARS:= \
   PKG_VERSION="$(PKG_VERSION)"
 
@@ -36,19 +33,6 @@ define Package/django-picklefield/Default
   URL:=https://github.com/gintas/django-picklefield/
 endef
 
-define Package/python-django-picklefield
-$(call Package/django-picklefield/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-picklefield:python \
-       python-django1
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-picklefield/description
-  Pickled object field for Django
-endef
-
 define Package/python3-django-picklefield
 $(call Package/django-picklefield/Default)
   DEPENDS:= \
@@ -58,15 +42,11 @@ $(call Package/django-picklefield/Default)
 endef
 
 define Package/python3-django-picklefield/description
-$(call Package/python-django-picklefield/description)
+  Pickled object field for Django
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-picklefield))
-$(eval $(call BuildPackage,python-django-picklefield))
-$(eval $(call BuildPackage,python-django-picklefield-src))
-
 $(eval $(call Py3Package,python3-django-picklefield))
 $(eval $(call BuildPackage,python3-django-picklefield))
 $(eval $(call BuildPackage,python3-django-picklefield-src))
index 20af16ee798e02aeb451bf0a3892126336942a76..0525f342052658132d3adab2f1b56c221f75a9bf 100644 (file)
@@ -21,7 +21,6 @@ PKG_LICENSE_FILES:=LICENSE.txt
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-postoffice/Default
@@ -32,21 +31,6 @@ define Package/django-postoffice/Default
   URL:=https://github.com/ui/django-post_office
 endef
 
-define Package/python-django-postoffice
-$(call Package/django-postoffice/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-postoffice:python \
-       python-django1 \
-       +PACKAGE_python-django-postoffice:python-django-jsonfield
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-postoffice/description
-  A Django app to monitor and send mail asynchronously, complete with template
-  support
-endef
-
 define Package/python3-django-postoffice
 $(call Package/django-postoffice/Default)
   DEPENDS:= \
@@ -57,15 +41,12 @@ $(call Package/django-postoffice/Default)
 endef
 
 define Package/python3-django-postoffice/description
-$(call Package/python-django-postoffice/description)
+  A Django app to monitor and send mail asynchronously, complete with template
+  support
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-postoffice))
-$(eval $(call BuildPackage,python-django-postoffice))
-$(eval $(call BuildPackage,python-django-postoffice-src))
-
 $(eval $(call Py3Package,python3-django-postoffice))
 $(eval $(call BuildPackage,python3-django-postoffice))
 $(eval $(call BuildPackage,python3-django-postoffice-src))
index 896073f620d5c4e55874e6f16cd83f566f1fe26f..6006963d2d12df021cafac0d034c9fe01fa9dd16 100644 (file)
@@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-ranged-response/Default
@@ -29,19 +28,6 @@ define Package/django-ranged-response/Default
   URL:=https://github.com/i3thuan5/django-ranged-response
 endef
 
-define Package/python-django-ranged-response
-$(call Package/django-ranged-response/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-ranged-response:python \
-       python-django1
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-ranged-response/description
-  Modified Django FileResponse that adds Content-Range headers.
-endef
-
 define Package/python3-django-ranged-response
 $(call Package/django-ranged-response/Default)
   DEPENDS:= \
@@ -51,15 +37,11 @@ $(call Package/django-ranged-response/Default)
 endef
 
 define Package/python3-django-ranged-response/description
-$(call Package/python-django-ranged-response/description)
+  Modified Django FileResponse that adds Content-Range headers.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-ranged-response))
-$(eval $(call BuildPackage,python-django-ranged-response))
-$(eval $(call BuildPackage,python-django-ranged-response-src))
-
 $(eval $(call Py3Package,python3-django-ranged-response))
 $(eval $(call BuildPackage,python3-django-ranged-response))
 $(eval $(call BuildPackage,python3-django-ranged-response-src))
index 5cdb76bfc5d92f89744d03938e71279053bfda2d..6c45abb73f173e3751c225a550feb0d2269c2752 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE.md
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-restframework39/Default
@@ -31,19 +30,6 @@ define Package/django-restframework39/Default
   URL:=https://www.django-rest-framework.org
 endef
 
-define Package/python-django-restframework39
-$(call Package/django-restframework39/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-restframework39:python \
-       python-django1
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-restframework39/description
-  Web APIs for Django, made easy. (3.9 series)
-endef
-
 define Package/python3-django-restframework39
 $(call Package/django-restframework39/Default)
   DEPENDS:= \
@@ -54,15 +40,11 @@ $(call Package/django-restframework39/Default)
 endef
 
 define Package/python3-django-restframework39/description
-$(call Package/python-django-restframework39/description)
+  Web APIs for Django, made easy. (3.9 series)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-restframework39))
-$(eval $(call BuildPackage,python-django-restframework39))
-$(eval $(call BuildPackage,python-django-restframework39-src))
-
 $(eval $(call Py3Package,python3-django-restframework39))
 $(eval $(call BuildPackage,python3-django-restframework39))
 $(eval $(call BuildPackage,python3-django-restframework39-src))
index a4431aa5fb7adc55b535202ee2cfafe9246ade29..03f547a45010358c724a9b296b43c7d5dc029143 100644 (file)
@@ -22,7 +22,6 @@ PKG_LICENSE_FILES:=LICENSE
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
@@ -35,23 +34,6 @@ define Package/django-simple-captcha/Default
   URL:=https://github.com/mbi/django-simple-captcha
 endef
 
-define Package/python-django-simple-captcha
-$(call Package/django-simple-captcha/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-simple-captcha:python \
-       +PACKAGE_python-django-simple-captcha:python-six \
-       python-django1 \
-       +PACKAGE_python-django-simple-captcha:python-pillow \
-       +PACKAGE_python-django-simple-captcha:python-django-ranged-response
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-simple-captcha/description
-  Django Simple Captcha is an extremely simple, yet highly customizable Django
-  application to add captcha images to any Django form.
-endef
-
 define Package/python3-django-simple-captcha
 $(call Package/django-simple-captcha/Default)
   DEPENDS:= \
@@ -64,15 +46,12 @@ $(call Package/django-simple-captcha/Default)
 endef
 
 define Package/python3-django-simple-captcha/description
-$(call Package/python-django-simple-captcha/description)
+  Django Simple Captcha is an extremely simple, yet highly customizable Django
+  application to add captcha images to any Django form.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-simple-captcha))
-$(eval $(call BuildPackage,python-django-simple-captcha))
-$(eval $(call BuildPackage,python-django-simple-captcha-src))
-
 $(eval $(call Py3Package,python3-django-simple-captcha))
 $(eval $(call BuildPackage,python3-django-simple-captcha))
 $(eval $(call BuildPackage,python3-django-simple-captcha-src))
index 2e86437f7537fedd0a61cb32c819eb4e8f71373d..73872264b8b21107e8cb22fc0984fb47f24ac705 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-statici18n/Default
@@ -31,21 +30,6 @@ define Package/django-statici18n/Default
   URL:=https://django-statici18n.readthedocs.io
 endef
 
-define Package/python-django-statici18n
-$(call Package/django-statici18n/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-statici18n:python \
-       python-django1 \
-       +PACKAGE_python-django-statici18n:python-django-appconf \
-       +PACKAGE_python-django-statici18n:python-six
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-statici18n/description
-  A Django app that provides helper for generating JavaScript catalog to static files.
-endef
-
 define Package/python3-django-statici18n
 $(call Package/django-statici18n/Default)
   DEPENDS:= \
@@ -57,15 +41,11 @@ $(call Package/django-statici18n/Default)
 endef
 
 define Package/python3-django-statici18n/description
-$(call Package/python-django-statici18n/description)
+  A Django app that provides helper for generating JavaScript catalog to static files.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-statici18n))
-$(eval $(call BuildPackage,python-django-statici18n))
-$(eval $(call BuildPackage,python-django-statici18n-src))
-
 $(eval $(call Py3Package,python3-django-statici18n))
 $(eval $(call BuildPackage,python3-django-statici18n))
 $(eval $(call BuildPackage,python3-django-statici18n-src))
index 90c65d2acfa97b4cadcc5c1037416d8d0c130c1a..d21f0268b92f66e32949534266d6b4fd061b36b8 100644 (file)
@@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django-webpack-loader/Default
@@ -29,19 +28,6 @@ define Package/django-webpack-loader/Default
   URL:=https://github.com/owais/django-webpack-loader
 endef
 
-define Package/python-django-webpack-loader
-$(call Package/django-webpack-loader/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django-webpack-loader:python \
-       python-django1
-  VARIANT:=python
-  MDEPENDS:=python-django1
-endef
-
-define Package/python-django-webpack-loader/description
-  Use webpack to generate your static bundles without django’s staticfiles or opaque wrappers.
-endef
-
 define Package/python3-django-webpack-loader
 $(call Package/django-webpack-loader/Default)
   DEPENDS:= \
@@ -51,15 +37,11 @@ $(call Package/django-webpack-loader/Default)
 endef
 
 define Package/python3-django-webpack-loader/description
-$(call Package/python-django-webpack-loader/description)
+  Use webpack to generate your static bundles without django’s staticfiles or opaque wrappers.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-django-webpack-loader))
-$(eval $(call BuildPackage,python-django-webpack-loader))
-$(eval $(call BuildPackage,python-django-webpack-loader-src))
-
 $(eval $(call Py3Package,python3-django-webpack-loader))
 $(eval $(call BuildPackage,python3-django-webpack-loader))
 $(eval $(call BuildPackage,python3-django-webpack-loader-src))
index db260a2084a16b2907be3e1c229c1efd5d54a7c0..d3599e9621bd2fdc472660d89dcdd4300f64405a 100644 (file)
@@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:djangoproject:django
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/django1/Default
@@ -32,20 +31,6 @@ define Package/django1/Default
   URL:=https://www.djangoproject.com/
 endef
 
-define Package/python-django1
-$(call Package/django1/Default)
-  DEPENDS:= \
-       +PACKAGE_python-django1:python \
-       +PACKAGE_python-django1:python-pytz \
-       +PACKAGE_python-django1:python-django1-common
-  VARIANT:=python
-  MENU:=1
-endef
-
-define Package/python-django1/description
-  The web framework for perfectionists with deadlines (LTS 1.11 series).
-endef
-
 define Package/python3-django1
 $(call Package/django1/Default)
   DEPENDS:= \
@@ -57,7 +42,7 @@ $(call Package/django1/Default)
 endef
 
 define Package/python3-django1/description
-$(call Package/python-django1/description)
+  The web framework for perfectionists with deadlines (LTS 1.11 series).
 .
 (Variant for Python3)
 endef
@@ -67,12 +52,11 @@ $(call Package/django1/Default)
 endef
 
 define Package/python-django1-common/description
-$(call Package/python-django1/description)
+  The web framework for perfectionists with deadlines (LTS 1.11 series).
 .
 This package contains files common to both Python 2.7 and Python 3.
 endef
 
-PyPackage/python-django1/install:=:
 Py3Package/python3-django1/install:=:
 
 define Package/python-django1-common/install
@@ -80,10 +64,6 @@ define Package/python-django1-common/install
        $(INSTALL_BIN) ./files/django-admin $(1)/usr/bin
 endef
 
-$(eval $(call PyPackage,python-django1))
-$(eval $(call BuildPackage,python-django1))
-$(eval $(call BuildPackage,python-django1-src))
-
 $(eval $(call Py3Package,python3-django1))
 $(eval $(call BuildPackage,python3-django1))
 $(eval $(call BuildPackage,python3-django1-src))
index 504b082a3a3e103348c6bbddd3451d4f73fc9c85..819346896c8188c2faeb10559f5f3f6705c2a2cc 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=PKG-INFO
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/flup/Default
@@ -31,14 +30,6 @@ define Package/flup/Default
   URL:=https://www.saddi.com/software/flup/
 endef
 
-define Package/python-flup
-$(call Package/flup/Default)
-  DEPENDS+= \
-      +PACKAGE_python-flup:python-light \
-      +PACKAGE_python-flup:python-logging
-  VARIANT:=python
-endef
-
 define Package/python3-flup
 $(call Package/flup/Default)
   DEPENDS+= \
@@ -47,20 +38,12 @@ $(call Package/flup/Default)
   VARIANT:=python3
 endef
 
-define Package/python-flup/description
-  Random assortment of WSGI servers.
-endef
-
 define Package/python3-flup/description
-$(call Package/python-flup/description)
+  Random assortment of WSGI servers.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-flup))
-$(eval $(call BuildPackage,python-flup))
-$(eval $(call BuildPackage,python-flup-src))
-
 $(eval $(call Py3Package,python3-flup))
 $(eval $(call BuildPackage,python3-flup))
 $(eval $(call BuildPackage,python3-flup-src))
index 1e65f4d1e4c739f98f83a9cb465bea37e082b8f5..5a82924e27d57114a732ef158862aafc50d8f5b7 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/gunicorn/Default
@@ -31,21 +30,6 @@ define Package/gunicorn/Default
   URL:=https://gunicorn.org
 endef
 
-define Package/python-gunicorn
-$(call Package/gunicorn/Default)
-  DEPENDS:=+python
-  VARIANT:=python
-endef
-
-define Package/python-gunicorn/description
-    WSGI HTTP Server for UNIX (libraries)
-endef
-
-define PyPackage/python-gunicorn/filespec
-+|$(PYTHON_PKG_DIR)
--|$(PYTHON_PKG_DIR)/gunicorn/workers/_gaiohttp.py
-endef
-
 define Package/python3-gunicorn
 $(call Package/gunicorn/Default)
   DEPENDS:=+python3
@@ -53,43 +37,24 @@ $(call Package/gunicorn/Default)
 endef
 
 define Package/python3-gunicorn/description
-$(call Package/python-gunicorn/description)
+    WSGI HTTP Server for UNIX (libraries)
 .
 (Variant for Python3)
 endef
 
 # Make sure that the binaries are not installed with the libraries
-# That means adding some empty Py[3]Package/gunicorn[3]/install rules
-define PyPackage/python-gunicorn/install
-       :
-endef
-
+# That means adding some empty Py3Package/gunicorn3/install rules
 define Py3Package/python3-gunicorn/install
        :
 endef
 
-define Package/gunicorn
-$(call Package/gunicorn/Default)
-  DEPENDS:=+python +python-pkg-resources +python-gunicorn
-endef
-
-define Package/gunicorn/description
-    WSGI HTTP Server for UNIX (daemon)
-endef
-
-define Package/gunicorn/install
-       $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
-       $(call PyShebang,$(1)/usr/bin/*)
-endef
-
 define Package/gunicorn3
 $(call Package/gunicorn/Default)
   DEPENDS:=+python3 +python3-pkg-resources +python3-gunicorn
 endef
 
 define Package/gunicorn3/description
-$(call Package/gunicorn/description)
+    WSGI HTTP Server for UNIX (daemon)
 .
 (Variant for Python3)
 endef
@@ -105,11 +70,6 @@ define Package/gunicorn3/install
        $(call Py3Shebang,$(1)/usr/bin/*)
 endef
 
-$(eval $(call PyPackage,python-gunicorn))
-$(eval $(call BuildPackage,python-gunicorn))
-$(eval $(call BuildPackage,python-gunicorn-src))
-$(eval $(call BuildPackage,gunicorn))
-
 $(eval $(call Py3Package,python3-gunicorn))
 $(eval $(call BuildPackage,python3-gunicorn))
 $(eval $(call BuildPackage,python3-gunicorn-src))
index f0ea9326bf5a01f8adb1485d3d9a58983033da3b..4d292d7f4bde4846abfe498875e96a72d989e795 100644 (file)
@@ -20,7 +20,6 @@ PKG_HASH:=1d2af392cef8c8227bd2ac3ebe3a28b25aba74fd4fa473ce106065f0b73bfe2e
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-openpyxl/Default
@@ -31,18 +30,6 @@ define Package/python-openpyxl/Default
   URL:=https://openpyxl.readthedocs.org/
 endef
 
-define Package/python-openpyxl
-  $(call Package/python-openpyxl/Default)
-  DEPENDS:= \
-       +PACKAGE_python-openpyxl:python \
-       +PACKAGE_python-openpyxl:python-defusedxml \
-       +PACKAGE_python-openpyxl:python-et_xmlfile \
-       +PACKAGE_python-openpyxl:python-jdcal
-  VARIANT:=python
-  # The PROVIDES below is deprecated and should be dropped with the next version.
-  PROVIDES:=openpyxl
-endef
-
 define Package/python3-openpyxl
   $(call Package/python-openpyxl/Default)
   DEPENDS:= \
@@ -53,20 +40,12 @@ define Package/python3-openpyxl
   VARIANT:=python3
 endef
 
-define Package/python-openpyxl/description
-  A Python library to read/write Excel 2010 xlsx/xlsm files
-endef
-
 define Package/python3-openpyxl/description
-$(call Package/python-openpyxl/description)
+  A Python library to read/write Excel 2010 xlsx/xlsm files
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-openpyxl))
-$(eval $(call BuildPackage,python-openpyxl))
-$(eval $(call BuildPackage,python-openpyxl-src))
-
 $(eval $(call Py3Package,python3-openpyxl))
 $(eval $(call BuildPackage,python3-openpyxl))
 $(eval $(call BuildPackage,python3-openpyxl-src))
index 144939f0641ee6d1a8043ace1436cd352c221aff..bba473f68a0e6c0597be9c3938866ee0e89cdef7 100644 (file)
@@ -14,7 +14,6 @@ PKG_HASH:=8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/passlib/Default
@@ -25,37 +24,24 @@ define Package/passlib/Default
   URL:=https://bitbucket.org/ecollins/passlib
 endef
 
-define Package/python-passlib
-$(call Package/passlib/Default)
-  DEPENDS:=+PACKAGE_python-passlib:python +PACKAGE_python-passlib:python-dateutil
-  VARIANT:=python
-endef
-
 define Package/python3-passlib
 $(call Package/passlib/Default)
   DEPENDS:=+PACKAGE_python3-passlib:python3 +PACKAGE_python3-passlib:python3-dateutil
   VARIANT:=python3
 endef
 
-define Package/python-passlib/description
+define Package/python3-passlib/description
 Passlib is a password hashing library for Python 2 & 3, which provides
 cross-platform implementations of over 30 password hashing algorithms,
 as well as a framework for managing existing password hashes. It’s
 designed to be useful for a wide range of tasks, from verifying a hash
 found in /etc/shadow, to providing full-strength password hashing for
 multi-user applications.
-endef
-
-define Package/python3-passlib/description
-$(call Package/python-passlib/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-passlib))
 $(eval $(call Py3Package,python3-passlib))
 
-$(eval $(call BuildPackage,python-passlib))
-$(eval $(call BuildPackage,python-passlib-src))
 $(eval $(call BuildPackage,python3-passlib))
 $(eval $(call BuildPackage,python3-passlib-src))
index e51fc016fac769c2d361d242bf82dea6899d4ad1..380c5e38962ef14f707220b323e8a5ca1dcf106e 100644 (file)
@@ -20,7 +20,6 @@ PKG_CPE_ID:=cpe:/a:python:pillow
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pillow/Default
@@ -32,16 +31,6 @@ define Package/python-pillow/Default
   DEPENDS:=+libfreetype +libjpeg +libtiff +zlib
 endef
 
-define Package/python-pillow
-$(call Package/python-pillow/Default)
-  DEPENDS+=+PACKAGE_python-pillow:python
-  VARIANT:=python
-endef
-
-define Package/python-pillow/description
-  The friendly PIL fork
-endef
-
 define Package/python3-pillow
 $(call Package/python-pillow/Default)
   DEPENDS+=+PACKAGE_python3-pillow:python3
@@ -49,7 +38,7 @@ $(call Package/python-pillow/Default)
 endef
 
 define Package/python3-pillow/description
-$(call Package/python-pillow/description)
+  The friendly PIL fork
 .
 (Variant for Python3)
 endef
@@ -66,12 +55,6 @@ PYTHON3_PKG_SETUP_GLOBAL_ARGS += build_ext \
        --disable-imagequant \
        --disable-platform-guessing
 
-PYTHON_PKG_SETUP_GLOBAL_ARGS:=$(PYTHON3_PKG_SETUP_GLOBAL_ARGS)
-
-$(eval $(call PyPackage,python-pillow))
-$(eval $(call BuildPackage,python-pillow))
-$(eval $(call BuildPackage,python-pillow-src))
-
 $(eval $(call Py3Package,python3-pillow))
 $(eval $(call BuildPackage,python3-pillow))
 $(eval $(call BuildPackage,python3-pillow-src))
index b8000308bc684e05cb58514539a92f453b0ab524..b4745b631d8d876fdbe02fa8dc3b2f8720866663 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pyjwt/Default
@@ -29,32 +28,18 @@ define Package/python-pyjwt/Default
   URL:=http://github.com/jpadilla/pyjwt
 endef
 
-define Package/python-pyjwt
-  $(call Package/python-pyjwt/Default)
-  DEPENDS:=+PACKAGE_python-pyjwt:python
-  VARIANT:=python
-endef
-
 define Package/python3-pyjwt
   $(call Package/python-pyjwt/Default)
   DEPENDS:=+PACKAGE_python3-pyjwt:python3
   VARIANT:=python3
 endef
 
-define Package/python-pyjwt/description
-  A Python implementation of RFC 7519.
-endef
-
 define Package/python3-pyjwt/description
-$(call Package/python-pyjwt/description)
+  A Python implementation of RFC 7519.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-pyjwt))
-$(eval $(call BuildPackage,python-pyjwt))
-$(eval $(call BuildPackage,python-pyjwt-src))
-
 $(eval $(call Py3Package,python3-pyjwt))
 $(eval $(call BuildPackage,python3-pyjwt))
 $(eval $(call BuildPackage,python3-pyjwt-src))
index fa70c8f6b97298e49f0e45f1766c57f03e22b68c..87ca5c936a17e98a5e53363b419e3b8433586023 100644 (file)
@@ -10,7 +10,7 @@ PKG_RELEASE:=2
 
 PYPI_NAME:=$(PKG_NAME)
 PKG_HASH:=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3
-PKG_BUILD_DEPENDS:=python python3 unixodbc
+PKG_BUILD_DEPENDS:=python3 unixodbc
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE.txt
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
@@ -20,7 +20,6 @@ PKG_BUILD_DEPENDS:=unixodbc/host
 include ../pypi.mk
 include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pyodbc/Default
@@ -31,15 +30,6 @@ define Package/python-pyodbc/Default
   DEPENDS:=+unixodbc $(CXX_DEPENDS)
 endef
 
-define Package/python-pyodbc
-$(call Package/python-pyodbc/Default)
-  TITLE:=python-pyodbc
-  DEPENDS+=+PACKAGE_python-pyodbc:python-light \
-           +PACKAGE_python-pyodbc:python-logging \
-           +PACKAGE_python-pyodbc:python-openssl
-  VARIANT:=python
-endef
-
 define Package/python3-pyodbc
 $(call Package/python-pyodbc/Default)
   TITLE:=python3-pyodbc
@@ -47,21 +37,14 @@ $(call Package/python-pyodbc/Default)
   VARIANT:=python3
 endef
 
-define Package/python-pyodbc/description
+define Package/python3-pyodbc/description
 DB API Module for ODBC
 
 A Python DB API 2 module for ODBC. This project provides an up-to-date,
 convenient interface to ODBC using native data types like datetime and decimal.
-endef
-
-define Package/python3-pyodbc/description
-$(call Package/python-pyodbc/description)
 
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-pyodbc))
-$(eval $(call BuildPackage,python-pyodbc))
-
 $(eval $(call Py3Package,python3-pyodbc))
 $(eval $(call BuildPackage,python3-pyodbc))
index 302eefc728b16627e1965479f382398d84f4bf10..35825e8aa47c7fa08cb3216db13b30c4cf729c34 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-astral/Default
@@ -31,14 +30,6 @@ define Package/python-astral/Default
   URL:=https://github.com/sffjunkie/astral
 endef
 
-define Package/python-astral
-$(call Package/python-astral/Default)
-  DEPENDS+= \
-      +PACKAGE_python-astral:python-light \
-      +PACKAGE_python-astral:python-pytz
-  VARIANT:=python
-endef
-
 define Package/python3-astral
 $(call Package/python-astral/Default)
   DEPENDS+= \
@@ -47,20 +38,12 @@ $(call Package/python-astral/Default)
   VARIANT:=python3
 endef
 
-define Package/python-astral/description
-Astral is a python module for calculating the times of various aspects of the sun and moon.
-endef
-
 define Package/python3-astral/description
-$(call Package/python-astral/description)
+Astral is a python module for calculating the times of various aspects of the sun and moon.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-astral))
-$(eval $(call BuildPackage,python-astral))
-$(eval $(call BuildPackage,python-astral-src))
-
 $(eval $(call Py3Package,python3-astral))
 $(eval $(call BuildPackage,python3-astral))
 $(eval $(call BuildPackage,python3-astral-src))
index 5936704cb5f42c83196cb393df7f871ec3843740..82fc5d4bde9cb5d0a26cb93d7931a981ee87791f 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-attrs/Default
@@ -31,34 +30,20 @@ define Package/python-attrs/Default
   URL:=https://www.attrs.org/
 endef
 
-define Package/python-attrs
-$(call Package/python-attrs/Default)
-  DEPENDS:=+PACKAGE_python-attrs:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-attrs
 $(call Package/python-attrs/Default)
   DEPENDS:=+PACKAGE_python3-attrs:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-attrs/description
+define Package/python3-attrs/description
 attrs is an MIT-licensed Python package with class decorators that ease
 the chores of implementing the most common attribute-related object
 protocols.
-endef
-
-define Package/python3-attrs/description
-$(call Package/python-attrs/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-attrs))
-$(eval $(call BuildPackage,python-attrs))
-$(eval $(call BuildPackage,python-attrs-src))
-
 $(eval $(call Py3Package,python3-attrs))
 $(eval $(call BuildPackage,python3-attrs))
 $(eval $(call BuildPackage,python3-attrs-src))
index 804d3c881a1b6749f19b6d1fdb7dc6b732728169..b399ec03f4976698d56f60a8e8386abed0bac50e 100644 (file)
@@ -20,11 +20,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
-PYTHON_PKG_SETUP_VARS:= \
-  PKG_VERSION="$(PKG_VERSION)"
 PYTHON3_PKG_SETUP_VARS:= \
   PKG_VERSION="$(PKG_VERSION)"
 
@@ -36,15 +33,6 @@ define Package/python-automat/Default
   URL:=https://github.com/glyph/Automat
 endef
 
-define Package/python-automat
-$(call Package/python-automat/Default)
-  DEPENDS:= \
-      +PACKAGE_python-automat:python-light \
-      +PACKAGE_python-automat:python-attrs \
-      +PACKAGE_python-automat:python-six
-  VARIANT:=python
-endef
-
 define Package/python3-automat
 $(call Package/python-automat/Default)
   DEPENDS:= \
@@ -54,32 +42,19 @@ $(call Package/python-automat/Default)
   VARIANT:=python3
 endef
 
-define Package/python-automat/description
+define Package/python3-automat/description
 Automat is a library for concise, idiomatic Python expression of
 finite-state automata (particularly deterministic finite-state
 transducers).
-endef
-
-define Package/python3-automat/description
-$(call Package/python-automat/description)
 .
 (Variant for Python3)
 endef
 
-define PyPackage/python-automat/filespec
-+|$(PYTHON_PKG_DIR)
--|$(PYTHON_PKG_DIR)/automat/_visualize.py
-endef
-
 define Py3Package/python3-automat/filespec
 +|$(PYTHON3_PKG_DIR)
 -|$(PYTHON3_PKG_DIR)/automat/_visualize.py
 endef
 
-$(eval $(call PyPackage,python-automat))
-$(eval $(call BuildPackage,python-automat))
-$(eval $(call BuildPackage,python-automat-src))
-
 $(eval $(call Py3Package,python3-automat))
 $(eval $(call BuildPackage,python3-automat))
 $(eval $(call BuildPackage,python3-automat-src))
index 164ed090d77f42aa4c23f042db78540f14712fd3..537b5c78baa1e88be023b6db7ddb077fd7674731 100644 (file)
@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-awscli/Default
@@ -23,19 +22,6 @@ define Package/python-awscli/Default
   URL:=https://github.com/aws/aws-cli
 endef
 
-define Package/python-awscli
-$(call Package/python-awscli/Default)
-  DEPENDS:=+PACKAGE_python-awscli:python \
-       +PACKAGE_python-awscli:python-yaml \
-       +PACKAGE_python-awscli:python-pyasn1 \
-       +PACKAGE_python-awscli:python-botocore \
-       +PACKAGE_python-awscli:python-rsa \
-       +PACKAGE_python-awscli:python-colorama \
-       +PACKAGE_python-awscli:python-docutils \
-       +PACKAGE_python-awscli:python-s3transfer
-  VARIANT:=python
-endef
-
 define Package/python3-awscli
 $(call Package/python-awscli/Default)
   DEPENDS:=+PACKAGE_python3-awscli:python3 \
@@ -49,20 +35,12 @@ $(call Package/python-awscli/Default)
   VARIANT:=python3
 endef
 
-define Package/python-awscli/description
-This package provides a unified command line interface to Amazon Web Services.
-endef
-
 define Package/python3-awscli/description
-$(call Package/python-awscli/description)
+This package provides a unified command line interface to Amazon Web Services.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-awscli))
-$(eval $(call BuildPackage,python-awscli))
-$(eval $(call BuildPackage,python-awscli-src))
-
 $(eval $(call Py3Package,python3-awscli))
 $(eval $(call BuildPackage,python3-awscli))
 $(eval $(call BuildPackage,python3-awscli-src))
index d230176b93a05f0ae064a2857a8fdd4c2d6abd59..505dbe1f99efcf0f8a4508ed31e3261bfe6fb493 100644 (file)
@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-botocore/Default
@@ -23,17 +22,6 @@ define Package/python-botocore/Default
   URL:=https://github.com/boto/botocore
 endef
 
-define Package/python-botocore
-$(call Package/python-botocore/Default)
-  DEPENDS:=+PACKAGE_python-botocore:python \
-       +PACKAGE_python-botocore:python-urllib3 \
-       +PACKAGE_python-botocore:python-docutils \
-       +PACKAGE_python-botocore:python-dateutil \
-       +PACKAGE_python-botocore:python-jmespath \
-       +PACKAGE_python-botocore:python-requests
-  VARIANT:=python
-endef
-
 define Package/python3-botocore
 $(call Package/python-botocore/Default)
   DEPENDS:=+PACKAGE_python3-botocore:python3 \
@@ -45,21 +33,13 @@ $(call Package/python-botocore/Default)
   VARIANT:=python3
 endef
 
-define Package/python-botocore/description
+define Package/python3-botocore/description
 A low-level interface to a growing number of Amazon Web Services.
 The botocore package is the foundation for the AWS CLI as well as boto3.
-endef
-
-define Package/python3-botocore/description
-$(call Package/python-botocore/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-botocore))
-$(eval $(call BuildPackage,python-botocore))
-$(eval $(call BuildPackage,python-botocore-src))
-
 $(eval $(call Py3Package,python3-botocore))
 $(eval $(call BuildPackage,python3-botocore))
 $(eval $(call BuildPackage,python3-botocore-src))
index 640099b717d6341de5b6b42b15f05c576d52c9b4..914bce87b9968a1ddde59a106375b4915e0539f4 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-certifi/Default
@@ -29,33 +28,19 @@ define Package/python-certifi/Default
   URL:=http://certifi.io/
 endef
 
-define Package/python-certifi
-  $(call Package/python-certifi/Default)
-  DEPENDS:=+PACKAGE_python-certifi:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-certifi
   $(call Package/python-certifi/Default)
   DEPENDS:=+PACKAGE_python3-certifi:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-certifi/description
+define Package/python3-certifi/description
   Certifi is a carefully curated collection of Root Certificates for validating the
   trustworthiness of SSL certificates while verifying the identity of TLS hosts.
-endef
-
-define Package/python3-certifi/description
-$(call Package/python-certifi/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-certifi))
-$(eval $(call BuildPackage,python-certifi))
-$(eval $(call BuildPackage,python-certifi-src))
-
 $(eval $(call Py3Package,python3-certifi))
 $(eval $(call BuildPackage,python3-certifi))
 $(eval $(call BuildPackage,python3-certifi-src))
index 8a97339300cd3d7efa383f5ad68f80f5edb25efa..77b5fd7d1007090f715f46903e11ff879c3e7d27 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-cffi/Default
@@ -32,14 +31,6 @@ define Package/python-cffi/Default
   DEPENDS:=+libffi
 endef
 
-define Package/python-cffi
-$(call Package/python-cffi/Default)
-  DEPENDS+= \
-      +PACKAGE_python-cffi:python-light \
-      +PACKAGE_python-cffi:python-pycparser
-  VARIANT:=python
-endef
-
 define Package/python3-cffi
 $(call Package/python-cffi/Default)
   DEPENDS+= \
@@ -48,20 +39,12 @@ $(call Package/python-cffi/Default)
   VARIANT:=python3
 endef
 
-define Package/python-cffi/description
-Foreign Function Interface for Python calling C code.
-endef
-
 define Package/python3-cffi/description
-$(call Package/python-cffi/description)
+Foreign Function Interface for Python calling C code.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-cffi))
-$(eval $(call BuildPackage,python-cffi))
-$(eval $(call BuildPackage,python-cffi-src))
-
 $(eval $(call Py3Package,python3-cffi))
 $(eval $(call BuildPackage,python3-cffi))
 $(eval $(call BuildPackage,python3-cffi-src))
index 8f2da9e423ca5a9dc79dd513aa8b914df4dc9af2..956491cb7fcea466451ac16769f66a654954bff1 100644 (file)
@@ -17,7 +17,6 @@ PKG_HASH:=84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-chardet/Default
@@ -28,13 +27,6 @@ define Package/python-chardet/Default
   URL:=https://github.com/chardet/chardet
 endef
 
-define Package/python-chardet
-$(call Package/python-chardet/Default)
-  TITLE:=Universal encoding detector for Python 2
-  DEPENDS:=+PACKAGE_python-chardet:python
-  VARIANT:=python
-endef
-
 define Package/python3-chardet
 $(call Package/python-chardet/Default)
   TITLE:=Universal encoding detector for Python3
@@ -42,12 +34,8 @@ $(call Package/python-chardet/Default)
   VARIANT:=python3
 endef
 
-define Package/python-chardet/description
-  Universal encoding detector for Python 2 and 3
-endef
-
 define Package/python3-chardet/description
-$(call Package/python-chardet/description)
+  Universal encoding detector for Python 2 and 3
 .
 (Variant for Python3)
 endef
@@ -60,10 +48,6 @@ define Py3Package/python3-chardet/install
        done
 endef
 
-$(eval $(call PyPackage,python-chardet))
-$(eval $(call BuildPackage,python-chardet))
-$(eval $(call BuildPackage,python-chardet-src))
-
 $(eval $(call Py3Package,python3-chardet))
 $(eval $(call BuildPackage,python3-chardet))
 $(eval $(call BuildPackage,python3-chardet-src))
index 61c862dee36e148c7ced9e2391d53174e20b19bd..d81d50c7ad2b3d14d13e9892a8cee1e08999bdf4 100644 (file)
@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-colorama/Default
@@ -23,33 +22,19 @@ define Package/python-colorama/Default
   URL:=https://github.com/tartley/colorama
 endef
 
-define Package/python-colorama
-$(call Package/python-colorama/Default)
-  DEPENDS:=+PACKAGE_python-colorama:python
-  VARIANT:=python
-endef
-
 define Package/python3-colorama
 $(call Package/python-colorama/Default)
   DEPENDS:=+PACKAGE_python3-colorama:python3
   VARIANT:=python3
 endef
 
-define Package/python-colorama/description
+define Package/python3-colorama/description
 Makes ANSI escape character sequences
 (for producing colored terminal text and cursor positioning) work under MS Windows.
-endef
-
-define Package/python3-colorama/description
-$(call Package/python-colorama/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-colorama))
-$(eval $(call BuildPackage,python-colorama))
-$(eval $(call BuildPackage,python-colorama-src))
-
 $(eval $(call Py3Package,python3-colorama))
 $(eval $(call BuildPackage,python3-colorama))
 $(eval $(call BuildPackage,python3-colorama-src))
index e26705f4f2c5ec360bd2cbbc33b1a6b2fa824eea..c0efca096a73ec2582a70a13a19ca2b3efda9a5b 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-constantly/Default
@@ -31,34 +30,20 @@ define Package/python-constantly/Default
   URL:=https://github.com/twisted/constantly
 endef
 
-define Package/python-constantly
-$(call Package/python-constantly/Default)
-  DEPENDS:=+PACKAGE_python-constantly:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-constantly
 $(call Package/python-constantly/Default)
   DEPENDS:=+PACKAGE_python3-constantly:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-constantly/description
+define Package/python3-constantly/description
 A library that provides symbolic constant support. It includes
 collections and constants with text, numeric, and bit flag values.
 Originally twisted.python.constants from the Twisted project.
-endef
-
-define Package/python3-constantly/description
-$(call Package/python-constantly/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-constantly))
-$(eval $(call BuildPackage,python-constantly))
-$(eval $(call BuildPackage,python-constantly-src))
-
 $(eval $(call Py3Package,python3-constantly))
 $(eval $(call BuildPackage,python3-constantly))
 $(eval $(call BuildPackage,python3-constantly-src))
index 94eb78a45e62455f551ef189c4bee7234733a615..8ee28e025c8f9aaba0bf316804527b603454028b 100644 (file)
@@ -21,13 +21,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
-PYTHON_PKG_SETUP_ARGS:=
-PYTHON_PKG_SETUP_VARS:= \
-  CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
-
 PYTHON3_PKG_SETUP_ARGS:=
 PYTHON3_PKG_SETUP_VARS:= \
   CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
@@ -41,33 +36,19 @@ define Package/python-crypto/Default
   DEPENDS:=+libgmp
 endef
 
-define Package/python-crypto
-$(call Package/python-crypto/Default)
-  DEPENDS+=+PACKAGE_python-crypto:python
-  VARIANT:=python
-endef
-
 define Package/python3-crypto
 $(call Package/python-crypto/Default)
   DEPENDS+=+PACKAGE_python3-crypto:python3
   VARIANT:=python3
 endef
 
-define Package/python-crypto/description
+define Package/python3-crypto/description
 A collection of both secure hash functions (such as MD5 and SHA),
 and various encryption algorithms (AES, DES, IDEA, RSA, ElGamal, etc.).
-endef
-
-define Package/python3-crypto/description
-$(call Package/python-crypto/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-crypto))
-$(eval $(call BuildPackage,python-crypto))
-$(eval $(call BuildPackage,python-crypto-src))
-
 $(eval $(call Py3Package,python3-crypto))
 $(eval $(call BuildPackage,python3-crypto))
 $(eval $(call BuildPackage,python3-crypto-src))
index f6d1e88a946be0a9edbac8e5be8e309544691b3d..2e2d9f5f778b3648f637f302f55dab28630884c8 100644 (file)
@@ -18,13 +18,8 @@ PKG_CPE_ID:=cpe:/a:pycryptodome:pycryptodome
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
-PYTHON_PKG_SETUP_ARGS:=
-PYTHON_PKG_SETUP_VARS:= \
-  CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
-
 PYTHON3_PKG_SETUP_ARGS:=
 PYTHON3_PKG_SETUP_VARS:= \
   CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
@@ -38,13 +33,6 @@ define Package/python-cryptodome/Default
   DEPENDS:=+libgmp
 endef
 
-define Package/python-cryptodome
-$(call Package/python-cryptodome/Default)
-  DEPENDS+=+PACKAGE_python-cryptodome:python
-  VARIANT:=python
-  CONFLICTS:=python-crypto
-endef
-
 define Package/python3-cryptodome
 $(call Package/python-cryptodome/Default)
   DEPENDS+=+PACKAGE_python3-cryptodome:python3
@@ -52,21 +40,13 @@ $(call Package/python-cryptodome/Default)
   CONFLICTS:=python3-crypto
 endef
 
-define Package/python-cryptodome/description
+define Package/python3-cryptodome/description
 PyCryptodome is a self-contained Python package of low-level
 cryptographic primitives.
-endef
-
-define Package/python3-cryptodome/description
-$(call Package/python-cryptodome/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-cryptodome))
-$(eval $(call BuildPackage,python-cryptodome))
-$(eval $(call BuildPackage,python-cryptodome-src))
-
 $(eval $(call Py3Package,python3-cryptodome))
 $(eval $(call BuildPackage,python3-cryptodome))
 $(eval $(call BuildPackage,python3-cryptodome-src))
index 10c68e7d278ad6ee2fbb40be6cd789db5c100285..191d8083b1c4b072bb94bb3b8e74cbef4fe8526e 100644 (file)
@@ -17,13 +17,8 @@ PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
-PYTHON_PKG_SETUP_ARGS:=
-PYTHON_PKG_SETUP_VARS:= \
-  CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
-
 PYTHON3_PKG_SETUP_ARGS:=
 PYTHON3_PKG_SETUP_VARS:= \
   CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
@@ -37,33 +32,19 @@ define Package/python-cryptodomex/Default
   DEPENDS:=+libgmp
 endef
 
-define Package/python-cryptodomex
-$(call Package/python-cryptodomex/Default)
-  DEPENDS+=+PACKAGE_python-cryptodomex:python
-  VARIANT:=python
-endef
-
 define Package/python3-cryptodomex
 $(call Package/python-cryptodomex/Default)
   DEPENDS+=+PACKAGE_python3-cryptodomex:python3
   VARIANT:=python3
 endef
 
-define Package/python-cryptodomex/description
+define Package/python3-cryptodomex/description
 PyCryptodome is a self-contained Python package of low-level
 cryptographic primitives.
-endef
-
-define Package/python3-cryptodomex/description
-$(call Package/python-cryptodomex/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-cryptodomex))
-$(eval $(call BuildPackage,python-cryptodomex))
-$(eval $(call BuildPackage,python-cryptodomex-src))
-
 $(eval $(call Py3Package,python3-cryptodomex))
 $(eval $(call BuildPackage,python3-cryptodomex))
 $(eval $(call BuildPackage,python3-cryptodomex-src))
index d7981d37df4f29c3cd041a16d3e73b3cbcc74d25..8552903f565d93edee5c8bc65a8f9402b75bfc48 100644 (file)
@@ -20,12 +20,10 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
 
 PKG_BUILD_DEPENDS:=libffi/host
 
-HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi>=1.8,!=1.11.3"
 HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.8,!=1.11.3"
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-cryptography/Default
@@ -37,17 +35,6 @@ define Package/python-cryptography/Default
   DEPENDS:=+libopenssl
 endef
 
-define Package/python-cryptography
-$(call Package/python-cryptography/Default)
-  DEPENDS+= \
-      +PACKAGE_python-cryptography:python \
-      +PACKAGE_python-cryptography:python-cffi \
-      +PACKAGE_python-cryptography:python-enum34 \
-      +PACKAGE_python-cryptography:python-ipaddress \
-      +PACKAGE_python-cryptography:python-six
-  VARIANT:=python
-endef
-
 define Package/python3-cryptography
 $(call Package/python-cryptography/Default)
   DEPENDS+= \
@@ -57,22 +44,14 @@ $(call Package/python-cryptography/Default)
   VARIANT:=python3
 endef
 
-define Package/python-cryptography/description
+define Package/python3-cryptography/description
 cryptography is a package which provides cryptographic recipes and
 primitives to Python developers.  Our goal is for it to be your "cryptographic
 standard library". It supports Python 2.6-2.7, Python 3.3+, and PyPy 2.6+.
-endef
-
-define Package/python3-cryptography/description
-$(call Package/python-cryptography/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-cryptography))
-$(eval $(call BuildPackage,python-cryptography))
-$(eval $(call BuildPackage,python-cryptography-src))
-
 $(eval $(call Py3Package,python3-cryptography))
 $(eval $(call BuildPackage,python3-cryptography))
 $(eval $(call BuildPackage,python3-cryptography-src))
index 9ca4845fa2ff2d36b577dfdd1854016495625b6c..8248c9bd71b42b41bd92f546f1e33f7a1e1b084c 100644 (file)
@@ -17,7 +17,6 @@ PKG_LICENSE_FILES:=COPYING-LGPL
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-curl/Default
@@ -29,16 +28,6 @@ define Package/python-curl/Default
   DEPENDS:=+libcurl
 endef
 
-define Package/python-curl
-$(call Package/python-curl/Default)
-  DEPENDS+=+PACKAGE_python-curl:python
-  VARIANT:=python
-endef
-
-define Package/python-curl/description
-PycURL is a Python interface to libcurl, the multiprotocol file transfer library.
-endef
-
 define Package/python3-curl
 $(call Package/python-curl/Default)
   DEPENDS+=+PACKAGE_python3-curl:python3
@@ -46,38 +35,29 @@ $(call Package/python-curl/Default)
 endef
 
 define Package/python3-curl/description
-$(call Package/python-curl/description)
+PycURL is a Python interface to libcurl, the multiprotocol file transfer library.
 .
 (Variant for Python3)
 endef
 
-PYTHON_PKG_SETUP_ARGS:=
 PYTHON3_PKG_SETUP_ARGS:=
 
 ifdef CONFIG_LIBCURL_OPENSSL
-  PYTHON_PKG_SETUP_ARGS+=--with-openssl
   PYTHON3_PKG_SETUP_ARGS+=--with-openssl
 endif
 
 ifdef CONFIG_LIBCURL_GNUTLS
-  PYTHON_PKG_SETUP_ARGS+=--with-gnutls
   PYTHON3_PKG_SETUP_ARGS+=--with-gnutls
 endif
 
 ifdef CONFIG_LIBCURL_MBEDTLS
-  PYTHON_PKG_SETUP_ARGS+=--with-mbedtls
   PYTHON3_PKG_SETUP_ARGS+=--with-mbedtls
 endif
 
 ifdef CONFIG_LIBCURL_WOLFSSL
-  PYTHON_PKG_SETUP_ARGS+=--with-wolfssl
   PYTHON3_PKG_SETUP_ARGS+=--with-wolfssl
 endif
 
-$(eval $(call PyPackage,python-curl))
-$(eval $(call BuildPackage,python-curl))
-$(eval $(call BuildPackage,python-curl-src))
-
 $(eval $(call Py3Package,python3-curl))
 $(eval $(call BuildPackage,python3-curl))
 $(eval $(call BuildPackage,python3-curl-src))
index 8b5601eaf89804da530738d186d71a9b277324bd..5427f177275fbe73a29a7dd297770f763ed89e66 100644 (file)
@@ -19,7 +19,6 @@ PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-dateutil/Default
@@ -30,16 +29,6 @@ define Package/python-dateutil/Default
   URL:=https://dateutil.readthedocs.org/
 endef
 
-define Package/python-dateutil
-$(call Package/python-dateutil/Default)
-  DEPENDS:=+PACKAGE_python-dateutil:python +PACKAGE_python-dateutil:python-six
-  VARIANT:=python
-endef
-
-define Package/python-dateutil/description
-  Extensions to the standard Python datetime module
-endef
-
 define Package/python3-dateutil
 $(call Package/python-dateutil/Default)
   DEPENDS:=+PACKAGE_python3-dateutil:python3 +PACKAGE_python3-dateutil:python3-six
@@ -47,14 +36,11 @@ $(call Package/python-dateutil/Default)
 endef
 
 define Package/python3-dateutil/description
-$(call Package/python-dateutil/description)
+  Extensions to the standard Python datetime module
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-dateutil))
-$(eval $(call BuildPackage,python-dateutil))
-$(eval $(call BuildPackage,python-dateutil-src))
 $(eval $(call Py3Package,python3-dateutil))
 $(eval $(call BuildPackage,python3-dateutil))
 $(eval $(call BuildPackage,python3-dateutil-src))
index 2057e0fa255a39b172880293f943bf13442736a7..a7476defa28f5daa5218447699e9fc12093f5aab 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-defusedxml/Default
@@ -29,15 +28,6 @@ define Package/python-defusedxml/Default
   URL:=https://github.com/tiran/defusedxml
 endef
 
-define Package/python-defusedxml
-  $(call Package/python-defusedxml/Default)
-  DEPENDS:= \
-       +PACKAGE_python-defusedxml:python-light \
-       +PACKAGE_python-defusedxml:python-codecs \
-       +PACKAGE_python-defusedxml:python-xml
-  VARIANT:=python
-endef
-
 define Package/python3-defusedxml
   $(call Package/python-defusedxml/Default)
   DEPENDS:= \
@@ -46,21 +36,13 @@ define Package/python3-defusedxml
   VARIANT:=python3
 endef
 
-define Package/python-defusedxml/description
+define Package/python3-defusedxml/description
   The defusedxml package contains several Python-only workarounds and fixes for
   denial of service and other vulnerabilities in Python’s XML libraries.
-endef
-
-define Package/python3-defusedxml/description
-$(call Package/python-defusedxml/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-defusedxml))
-$(eval $(call BuildPackage,python-defusedxml))
-$(eval $(call BuildPackage,python-defusedxml-src))
-
 $(eval $(call Py3Package,python3-defusedxml))
 $(eval $(call BuildPackage,python3-defusedxml))
 $(eval $(call BuildPackage,python3-defusedxml-src))
index bb93b85e5ef214ca85bce2f35665eff4cc489282..a7837131aa9162f98065909de0af1087f35c681d 100644 (file)
@@ -23,7 +23,6 @@ PKG_CPE_ID:=cpe:/a:debian:python-dns
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-dnspython-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
@@ -36,16 +35,6 @@ define Package/python-dns/Default
   URL:=http://www.dnspython.org/
 endef
 
-define Package/python-dns
-$(call Package/python-dns/Default)
-  DEPENDS:=+PACKAGE_python-dns:python
-  VARIANT:=python
-endef
-
-define Package/python-dns/description
- dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.
-endef
-
 define Package/python3-dns
 $(call Package/python-dns/Default)
   DEPENDS:=+PACKAGE_python3-dns:python3
@@ -53,14 +42,11 @@ $(call Package/python-dns/Default)
 endef
 
 define Package/python3-dns/description
-$(call Package/python-dns/description)
+ dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-dns))
-$(eval $(call BuildPackage,python-dns))
-$(eval $(call BuildPackage,python-dns-src))
 $(eval $(call Py3Package,python3-dns))
 $(eval $(call BuildPackage,python3-dns))
 $(eval $(call BuildPackage,python3-dns-src))
index 060ef552c8d0cfe0984cb4a0c463ae2174ce488f..4cc9c2534897729cec549b3ced28fcaa5b3f4363 100644 (file)
@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-docutils/Default
@@ -23,37 +22,22 @@ define Package/python-docutils/Default
   URL:=http://docutils.sourceforge.net
 endef
 
-define Package/python-docutils
-$(call Package/python-docutils/Default)
-  DEPENDS:=+PACKAGE_python-docutils:python
-  VARIANT:=python
-endef
-
 define Package/python3-docutils
 $(call Package/python-docutils/Default)
   DEPENDS:=+PACKAGE_python3-docutils:python3
   VARIANT:=python3
 endef
 
-define Package/python-docutils/description
+define Package/python3-docutils/description
 Docutils is a modular system for processing documentation into useful formats,
 such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText,
 an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax.
-endef
-
-define Package/python3-docutils/description
-$(call Package/python-docutils/description)
 .
 (Variant for Python3)
 endef
 
-PYTHON_PKG_SETUP_ARGS:=
 PYTHON3_PKG_SETUP_ARGS:=
 
-$(eval $(call PyPackage,python-docutils))
-$(eval $(call BuildPackage,python-docutils))
-$(eval $(call BuildPackage,python-docutils-src))
-
 $(eval $(call Py3Package,python3-docutils))
 $(eval $(call BuildPackage,python3-docutils))
 $(eval $(call BuildPackage,python3-docutils-src))
index 426337d6d494696bf9534f7835084e5b56c9a3ab..6266e66276186ee13347b24710ae1c0db09c844b 100644 (file)
@@ -17,7 +17,6 @@ PKG_HASH:=614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-et_xmlfile/Default
@@ -28,14 +27,6 @@ define Package/python-et_xmlfile/Default
   URL:=https://bitbucket.org/openpyxl/et_xmlfile
 endef
 
-define Package/python-et_xmlfile
-$(call Package/python-et_xmlfile/Default)
-  DEPENDS:= \
-       +PACKAGE_python-et_xmlfile:python-light \
-       +PACKAGE_python-et_xmlfile:python-lxml
-  VARIANT:=python
-endef
-
 define Package/python3-et_xmlfile
 $(call Package/python-et_xmlfile/Default)
   DEPENDS:= \
@@ -44,22 +35,14 @@ $(call Package/python-et_xmlfile/Default)
   VARIANT:=python3
 endef
 
-define Package/python-et_xmlfile/description
+define Package/python3-et_xmlfile/description
   An implementation of lxml.xmlfile for the standard library.
   It is based upon the xmlfile module from lxml with the aim of
   allowing code to be developed that will work with both libraries.
-endef
-
-define Package/python3-et_xmlfile/description
-$(call Package/python-et_xmlfile/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-et_xmlfile))
-$(eval $(call BuildPackage,python-et_xmlfile))
-$(eval $(call BuildPackage,python-et_xmlfile-src))
-
 $(eval $(call Py3Package,python3-et_xmlfile))
 $(eval $(call BuildPackage,python3-et_xmlfile))
 $(eval $(call BuildPackage,python3-et_xmlfile-src))
index 2f7ad030d71220a9cc9261d4920fcc6ea50170e2..037d26c92ec6592f055020536a0995db47840b49 100644 (file)
@@ -20,7 +20,6 @@ PKG_HASH:=b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-evdev/Default
@@ -30,15 +29,6 @@ define Package/python-evdev/Default
   URL:=https://github.com/gvalkov/python-evdev
 endef
 
-define Package/python-evdev
-$(call Package/python-evdev/Default)
-  TITLE:=python-evdev
-  DEPENDS:= \
-     +PACKAGE_python-evdev:python-light \
-     +PACKAGE_python-evdev:python-ctypes
-  VARIANT:=python
-endef
-
 define Package/python3-evdev
 $(call Package/python-evdev/Default)
   TITLE:=python3-evdev
@@ -48,13 +38,8 @@ $(call Package/python-evdev/Default)
   VARIANT:=python3
 endef
 
-
-define Package/python-evdev/description
-       Bindings to the Linux input handling subsystem
-endef
-
 define Package/python3-evdev/description
-$(call Package/python-evdev/description)
+       Bindings to the Linux input handling subsystem
 .
 (Variant for Python3)
 endef
@@ -66,12 +51,6 @@ PYTHON3_PKG_SETUP_GLOBAL_ARGS:= \
        --evdev-headers="$(LINUX_EVDEV_HEADERS)" \
        build_ext
 
-PYTHON_PKG_SETUP_GLOBAL_ARGS:=$(PYTHON3_PKG_SETUP_GLOBAL_ARGS)
-
-$(eval $(call PyPackage,python-evdev))
-$(eval $(call BuildPackage,python-evdev))
-$(eval $(call BuildPackage,python-evdev-src))
-
 $(eval $(call Py3Package,python3-evdev))
 $(eval $(call BuildPackage,python3-evdev))
 $(eval $(call BuildPackage,python3-evdev-src))
index 81f602c7c776f91cd2902b46240ded95fab6a358..c12e341c74b41702c383a6312ea5c75d6f43f1c9 100644 (file)
@@ -21,10 +21,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
-PYTHON_PKG_SETUP_ARGS:=--nompfr
 PYTHON3_PKG_SETUP_ARGS:=--nompfr
 
 define Package/python-gmpy2/Default
@@ -36,19 +34,13 @@ define Package/python-gmpy2/Default
   DEPENDS:=+libgmp
 endef
 
-define Package/python-gmpy2
-$(call Package/python-gmpy2/Default)
-  DEPENDS+=+PACKAGE_python-gmpy2:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-gmpy2
 $(call Package/python-gmpy2/Default)
   DEPENDS+=+PACKAGE_python3-gmpy2:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-gmpy2/description
+define Package/python3-gmpy2/description
 gmpy2 is a C-coded Python extension module that supports multiple-precision
 arithmetic. gmpy2 is the successor to the original gmpy module. The gmpy module
 only supported the GMP multiple-precision library. gmpy2 adds support for the
@@ -56,18 +48,10 @@ MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly
 rounded complex floating-point arithmetic) libraries. gmpy2 also updates the
 API and naming conventions to be more consistent and support the additional
 functionality.
-endef
-
-define Package/python3-gmpy2/description
-$(call Package/python-gmpy2/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-gmpy2))
-$(eval $(call BuildPackage,python-gmpy2))
-$(eval $(call BuildPackage,python-gmpy2-src))
-
 $(eval $(call Py3Package,python3-gmpy2))
 $(eval $(call BuildPackage,python3-gmpy2))
 $(eval $(call BuildPackage,python3-gmpy2-src))
index 54a827e95b575c86788eb50e7e36593afd89a504..53f716547e89c27f1ee30176d57dde0cf4e069cc 100644 (file)
@@ -18,7 +18,6 @@ PKG_CPE_ID:=cpe:/a:python-gnupg_project:python-gnupg
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-gnupg/Default
@@ -29,13 +28,6 @@ define Package/python-gnupg/Default
   DEPENDS:=+gnupg
 endef
 
-define Package/python-gnupg
-$(call Package/python-gnupg/Default)
-  TITLE:=python-pyodbc
-  DEPENDS+=+PACKAGE_python-gnupg:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-gnupg
 $(call Package/python-gnupg/Default)
   TITLE:=python3-gnupg
@@ -43,7 +35,7 @@ $(call Package/python-gnupg/Default)
   VARIANT:=python3
 endef
 
-define Package/python-gnupg/description
+define Package/python3-gnupg/description
 A Python wrapper for GnuPG
 
 This module allows easy access to GnuPG.s key management, encryption
@@ -53,29 +45,15 @@ and sanitised, and therefore this module should be safe to use in
 networked applications requiring direct user input. It is intended for
 use on Windows, MacOS X, BSD, or Linux, with Python 2.6, Python 2.7,
 Python 3.3, Python 3.4, or PyPy.
-endef
-
-define Package/python3-gnupg/description
-$(call Package/python-gnupg/description)
 
 (Variant for Python3)
 endef
 
-define PyBuild/Compile
-       $(call Build/Compile/PyMod,,\
-               install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
-       )
-endef
-
 define Py3Build/Compile
        $(call Build/Compile/Py3Mod,,\
                install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
        )
 endef
 
-
-$(eval $(call PyPackage,python-gnupg))
-$(eval $(call BuildPackage,python-gnupg))
-
 $(eval $(call Py3Package,python3-gnupg))
 $(eval $(call BuildPackage,python3-gnupg))
index 869fc5a9b5148bfd2e4d9103ddb634ed8936c98a..8a88eb60db0979f002b3b1ad505640d267f37a25 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-hyperlink/Default
@@ -31,14 +30,6 @@ define Package/python-hyperlink/Default
   URL:=https://github.com/python-hyper/hyperlink
 endef
 
-define Package/python-hyperlink
-$(call Package/python-hyperlink/Default)
-  DEPENDS:= \
-      +PACKAGE_python-hyperlink:python-light \
-      +PACKAGE_python-hyperlink:python-idna
-  VARIANT:=python
-endef
-
 define Package/python3-hyperlink
 $(call Package/python-hyperlink/Default)
   DEPENDS:= \
@@ -47,22 +38,14 @@ $(call Package/python-hyperlink/Default)
   VARIANT:=python3
 endef
 
-define Package/python-hyperlink/description
+define Package/python3-hyperlink/description
 Hyperlink provides a pure-Python implementation of immutable URLs. Based
 on RFC 3986 and 3987, the Hyperlink URL makes working with both URIs and
 IRIs easy.
-endef
-
-define Package/python3-hyperlink/description
-$(call Package/python-hyperlink/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-hyperlink))
-$(eval $(call BuildPackage,python-hyperlink))
-$(eval $(call BuildPackage,python-hyperlink-src))
-
 $(eval $(call Py3Package,python3-hyperlink))
 $(eval $(call BuildPackage,python3-hyperlink))
 $(eval $(call BuildPackage,python3-hyperlink-src))
index 57b6d7abee69b4ad4a566fe8268d1fd5210da16c..fe524b44bad1b5b2f4966b78584fe1e3c31eb13f 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-idna/Default
@@ -31,14 +30,6 @@ define Package/python-idna/Default
   URL:=https://github.com/kjd/idna
 endef
 
-define Package/python-idna
-$(call Package/python-idna/Default)
-  DEPENDS:= \
-      +PACKAGE_python-idna:python-light \
-      +PACKAGE_python-idna:python-codecs
-  VARIANT:=python
-endef
-
 define Package/python3-idna
 $(call Package/python-idna/Default)
   DEPENDS:= \
@@ -47,23 +38,15 @@ $(call Package/python-idna/Default)
   VARIANT:=python3
 endef
 
-define Package/python-idna/description
+define Package/python3-idna/description
 A library to support the Internationalised Domain Names in Applications
 (IDNA) protocol as specified in RFC 5891. This version of the protocol
 is often referred to as "IDNA2008" and can produce different results
 from the earlier standard from 2003.
-endef
-
-define Package/python3-idna/description
-$(call Package/python-idna/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-idna))
-$(eval $(call BuildPackage,python-idna))
-$(eval $(call BuildPackage,python-idna-src))
-
 $(eval $(call Py3Package,python3-idna))
 $(eval $(call BuildPackage,python3-idna))
 $(eval $(call BuildPackage,python3-idna-src))
index 65cc4f7127d357dcf11d5283ec03345394a18c0c..7390088f09d23b0aa6ade8637a84513c1fbea8bc 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-incremental/Default
@@ -31,32 +30,18 @@ define Package/python-incremental/Default
   URL:=https://github.com/twisted/incremental
 endef
 
-define Package/python-incremental
-$(call Package/python-incremental/Default)
-  DEPENDS:=+PACKAGE_python-incremental:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-incremental
 $(call Package/python-incremental/Default)
   DEPENDS:=+PACKAGE_python3-incremental:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-incremental/description
-Incremental is a small library that versions your Python projects.
-endef
-
 define Package/python3-incremental/description
-$(call Package/python-incremental/description)
+Incremental is a small library that versions your Python projects.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-incremental))
-$(eval $(call BuildPackage,python-incremental))
-$(eval $(call BuildPackage,python-incremental-src))
-
 $(eval $(call Py3Package,python3-incremental))
 $(eval $(call BuildPackage,python3-incremental))
 $(eval $(call BuildPackage,python3-incremental-src))
index b674c82276078df3de90d80c34471d2d1ebbc10b..035fa623f9398f47638c7d50893f9c830755b025 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-jdcal/Default
@@ -29,32 +28,18 @@ define Package/python-jdcal/Default
   URL:=https://github.com/phn/jdcal
 endef
 
-define Package/python-jdcal
-$(call Package/python-jdcal/Default)
-  DEPENDS:= +PACKAGE_python-jdcal:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-jdcal
 $(call Package/python-jdcal/Default)
   DEPENDS:= +PACKAGE_python3-jdcal:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-jdcal/description
-  This module contains functions for converting between Julian dates and calendar dates.
-endef
-
 define Package/python3-jdcal/description
-$(call Package/python-jdcal/description)
+  This module contains functions for converting between Julian dates and calendar dates.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-jdcal))
-$(eval $(call BuildPackage,python-jdcal))
-$(eval $(call BuildPackage,python-jdcal-src))
-
 $(eval $(call Py3Package,python3-jdcal))
 $(eval $(call BuildPackage,python3-jdcal))
 $(eval $(call BuildPackage,python3-jdcal-src))
index e4d1494fb9d56018c402de1f45065c2b40804285..3006caf9a80c2d94d7cbd261de574b32534f58f7 100644 (file)
@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-jmespath/Default
@@ -23,33 +22,19 @@ define Package/python-jmespath/Default
   URL:=https://github.com/jmespath/jmespath.py
 endef
 
-define Package/python-jmespath
-$(call Package/python-jmespath/Default)
-  DEPENDS:=+PACKAGE_python-jmespath:python
-  VARIANT:=python
-endef
-
 define Package/python3-jmespath
 $(call Package/python-jmespath/Default)
   DEPENDS:=+PACKAGE_python3-jmespath:python3
   VARIANT:=python3
 endef
 
-define Package/python-jmespath/description
+define Package/python3-jmespath/description
   JMESPath (pronounced “james path”) allows you to declaratively specify how to extract
   elements from a JSON document.
-endef
-
-define Package/python3-jmespath/description
-$(call Package/python-jmespath/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-jmespath))
-$(eval $(call BuildPackage,python-jmespath))
-$(eval $(call BuildPackage,python-jmespath-src))
-
 $(eval $(call Py3Package,python3-jmespath))
 $(eval $(call BuildPackage,python3-jmespath))
 $(eval $(call BuildPackage,python3-jmespath-src))
index 2f393f447ff829bc3266afd0c262b3b223906965..fda6db33d1e5b88d26e99aadb5b7cdb5993835f0 100644 (file)
@@ -13,7 +13,6 @@ PKG_HASH:=80f837304ffa8476145ea643f6b98aa94b205013a96f1e5173d7bdc776426aee
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-libmodbus/Default
@@ -23,15 +22,6 @@ define Package/python-libmodbus/Default
   URL:=https://pypi.org/project/pylibmodbus
 endef
 
-define Package/python-libmodbus
-$(call Package/python-libmodbus/Default)
-  TITLE:=python-libmodbus
-  DEPENDS:=+libmodbus \
-     +PACKAGE_python-libmodbus:python-light \
-     +PACKAGE_python-libmodbus:python-cffi
-  VARIANT:=python
-endef
-
 define Package/python3-libmodbus
 $(call Package/python-libmodbus/Default)
   TITLE:=pylibmodbus
@@ -41,18 +31,11 @@ $(call Package/python-libmodbus/Default)
   VARIANT:=python3
 endef
 
-define Package/python-libmodbus/description
-       Python Interface for libmodbus written with CFFI.
-endef
-
 define Package/python3-libmodbus/description
-$(call Package/python-libmodbus/description)
+       Python Interface for libmodbus written with CFFI.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-libmodbus))
-$(eval $(call BuildPackage,python-libmodbus))
-
 $(eval $(call Py3Package,python3-libmodbus))
 $(eval $(call BuildPackage,python3-libmodbus))
index 611168de7aaa316f6214da2200d83822d36e139c..c2c7d3ad3ea3f958183fe69578b0b23a7bfbffb6 100644 (file)
@@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:lxml:lxml
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-lxml/Default
@@ -32,13 +31,6 @@ define Package/python-lxml/Default
   DEPENDS:=+libxml2 +libxslt +libexslt
 endef
 
-define Package/python-lxml
-$(call Package/python-lxml/Default)
-  TITLE:=python-lxml
-  DEPENDS+=+PACKAGE_python-lxml:python-light +PACKAGE_python-lxml:python-codecs
-  VARIANT:=python
-endef
-
 define Package/python3-lxml
 $(call Package/python-lxml/Default)
   TITLE:=python3-lxml
@@ -46,32 +38,15 @@ $(call Package/python-lxml/Default)
   VARIANT:=python3
 endef
 
-define Package/python-lxml/description
+define Package/python3-lxml/description
 The lxml XML toolkit is a Pythonic binding
 for the C libraries libxml2 and libxslt.
-endef
-
-define Package/python3-lxml/description
-$(call Package/python-lxml/description)
 .
 (Variant for Python3)
 endef
 
 TARGET_LDFLAGS += -lxml2 -lxslt -lexslt
 
-define PyBuild/Compile
-       $(call Build/Compile/PyMod,, \
-               install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
-               --static \
-               --single-version-externally-managed \
-               , \
-               INCLUDE="$(STAGING_DIR)/usr/include/ $(STAGING_DIR)/usr/include/libxml2" \
-               LIBRARY="$(STAGING_DIR)/usr/lib $(STAGING_DIR)/lib" \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-       )
-endef
-
 define Py3Build/Compile
        $(call Build/Compile/Py3Mod,, \
                install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
@@ -85,10 +60,6 @@ define Py3Build/Compile
        )
 endef
 
-$(eval $(call PyPackage,python-lxml))
-$(eval $(call BuildPackage,python-lxml))
-$(eval $(call BuildPackage,python-lxml-src))
-
 $(eval $(call Py3Package,python3-lxml))
 $(eval $(call BuildPackage,python3-lxml))
 $(eval $(call BuildPackage,python3-lxml-src))
index 47f4a1a5d39347ecc9c8e9609e8fe95656e9ed40..9f24e3b83401567a095d1cfbcc3d97385bea0a2a 100644 (file)
@@ -18,7 +18,6 @@ PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 # python-mysqlclient needs iconv
 include $(INCLUDE_DIR)/nls.mk
@@ -30,13 +29,6 @@ define Package/python-mysqlclient/Default
   URL:=https://mysqlclient.readthedocs.io/
 endef
 
-define Package/python-mysqlclient
-  $(call Package/python-mysqlclient/Default)
-  TITLE:=MySQL database adapter for Python
-  DEPENDS:=+PACKAGE_python-mysqlclient:python +libmysqlclient
-  VARIANT:=python
-endef
-
 define Package/python3-mysqlclient
   $(call Package/python-mysqlclient/Default)
   TITLE:=MySQL database adapter for Python3
@@ -44,21 +36,13 @@ define Package/python3-mysqlclient
   VARIANT:=python3
 endef
 
-define Package/python-mysqlclient/description
+define Package/python3-mysqlclient/description
  MySQLdb is an thread-compatible interface to the popular MySQL database
  server that provides the Python database API.
-endef
-
-define Package/python3-mysqlclient/description
-$(call Package/python-mysqlclient/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-mysqlclient))
-$(eval $(call BuildPackage,python-mysqlclient))
-$(eval $(call BuildPackage,python-mysqlclient-src))
-
 $(eval $(call Py3Package,python3-mysqlclient))
 $(eval $(call BuildPackage,python3-mysqlclient))
 $(eval $(call BuildPackage,python3-mysqlclient-src))
index ae157406f5f822d87db788c163965877b0aa59d7..4fcd4cea913bf96aae22482b2f41bfcee1a960bc 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-oauthlib/Default
@@ -29,33 +28,19 @@ define Package/python-oauthlib/Default
   URL:=https://github.com/oauthlib/oauthlib
 endef
 
-define Package/python-oauthlib
-  $(call Package/python-oauthlib/Default)
-  DEPENDS:=+PACKAGE_python-oauthlib:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-oauthlib
   $(call Package/python-oauthlib/Default)
   DEPENDS:=+PACKAGE_python3-oauthlib:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-oauthlib/description
+define Package/python3-oauthlib/description
   A generic, spec-compliant, thorough implementation of the OAuth request-signing
   logic for Python
-endef
-
-define Package/python3-oauthlib/description
-$(call Package/python-oauthlib/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-oauthlib))
-$(eval $(call BuildPackage,python-oauthlib))
-$(eval $(call BuildPackage,python-oauthlib-src))
-
 $(eval $(call Py3Package,python3-oauthlib))
 $(eval $(call BuildPackage,python3-oauthlib))
 $(eval $(call BuildPackage,python3-oauthlib-src))
index 39fed358ce42dc06196187ae26c87e0d9bda120e..ad28e585ebfc3ec1edb59ab23fd094552a0a967a 100644 (file)
@@ -20,10 +20,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
-PYTHON_PKG_SETUP_ARGS:=
 PYTHON3_PKG_SETUP_ARGS:=
 
 define Package/python-parsley/Default
@@ -34,32 +32,18 @@ define Package/python-parsley/Default
   URL:=http://launchpad.net/parsley
 endef
 
-define Package/python-parsley
-$(call Package/python-parsley/Default)
-  DEPENDS:=+PACKAGE_python-parsley:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-parsley
 $(call Package/python-parsley/Default)
   DEPENDS:=+PACKAGE_python3-parsley:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-parsley/description
-Parsing and pattern matching made easy.
-endef
-
 define Package/python3-parsley/description
-$(call Package/python-parsley/description)
+Parsing and pattern matching made easy.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-parsley))
-$(eval $(call BuildPackage,python-parsley))
-$(eval $(call BuildPackage,python-parsley-src))
-
 $(eval $(call Py3Package,python3-parsley))
 $(eval $(call BuildPackage,python3-parsley))
 $(eval $(call BuildPackage,python3-parsley-src))
index ea6457d7786f9c2af018ad00656311b8e7329cbb..4b302d04800e2f771108d071cd462256f903d001 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-ply/Default
@@ -31,33 +30,19 @@ define Package/python-ply/Default
   URL:=http://www.dabeaz.com/ply/
 endef
 
-define Package/python-ply
-$(call Package/python-ply/Default)
-  DEPENDS:=+PACKAGE_python-ply:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-ply
 $(call Package/python-ply/Default)
   DEPENDS:=+PACKAGE_python3-ply:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-ply/description
+define Package/python3-ply/description
 PLY is a 100% Python implementation of the common parsing tools lex
 and yacc.
-endef
-
-define Package/python3-ply/description
-$(call Package/python-ply/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-ply))
-$(eval $(call BuildPackage,python-ply))
-$(eval $(call BuildPackage,python-ply-src))
-
 $(eval $(call Py3Package,python3-ply))
 $(eval $(call BuildPackage,python3-ply))
 $(eval $(call BuildPackage,python3-ply-src))
index 5261bece5dad93f28cd5dcab01e4a1c09eafeb4c..5eafbfef400cc00bfa39e2133c216c5291e575c2 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pyasn1-modules/Default
@@ -31,14 +30,6 @@ define Package/python-pyasn1-modules/Default
   URL:=https://github.com/etingof/pyasn1-modules
 endef
 
-define Package/python-pyasn1-modules
-$(call Package/python-pyasn1-modules/Default)
-  DEPENDS:= \
-      +PACKAGE_python-pyasn1-modules:python-light \
-      +PACKAGE_python-pyasn1-modules:python-pyasn1
-  VARIANT:=python
-endef
-
 define Package/python3-pyasn1-modules
 $(call Package/python-pyasn1-modules/Default)
   DEPENDS:= \
@@ -47,21 +38,13 @@ $(call Package/python-pyasn1-modules/Default)
   VARIANT:=python3
 endef
 
-define Package/python-pyasn1-modules/description
+define Package/python3-pyasn1-modules/description
 This is a small but growing collection of ASN.1 data structures
 expressed in Python terms using pyasn1 data model.
-endef
-
-define Package/python3-pyasn1-modules/description
-$(call Package/python-pyasn1-modules/description)
 .
 (Variant for Python3).
 endef
 
-$(eval $(call PyPackage,python-pyasn1-modules))
-$(eval $(call BuildPackage,python-pyasn1-modules))
-$(eval $(call BuildPackage,python-pyasn1-modules-src))
-
 $(eval $(call Py3Package,python3-pyasn1-modules))
 $(eval $(call BuildPackage,python3-pyasn1-modules))
 $(eval $(call BuildPackage,python3-pyasn1-modules-src))
index 3ba9073cdd1cf66c59b9841ec7f75d6ee4ae32f3..23c81a6138c97a55e2132bcd1fc0b4d3f589d954 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pyasn1/Default
@@ -31,35 +30,21 @@ define Package/python-pyasn1/Default
   URL:=https://github.com/etingof/pyasn1
 endef
 
-define Package/python-pyasn1
-$(call Package/python-pyasn1/Default)
-  DEPENDS:=+PACKAGE_python-pyasn1:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-pyasn1
 $(call Package/python-pyasn1/Default)
   DEPENDS:=+PACKAGE_python3-pyasn1:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-pyasn1/description
+define Package/python3-pyasn1/description
 This is an implementation of ASN.1 types and codecs in Python programming
 language. It has been first written to support particular protocol (SNMP)
 but then generalized to be suitable for a wide range of protocols
 based on ASN.1 specification.
-endef
-
-define Package/python3-pyasn1/description
-$(call Package/python-pyasn1/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-pyasn1))
-$(eval $(call BuildPackage,python-pyasn1))
-$(eval $(call BuildPackage,python-pyasn1-src))
-
 $(eval $(call Py3Package,python3-pyasn1))
 $(eval $(call BuildPackage,python3-pyasn1))
 $(eval $(call BuildPackage,python3-pyasn1-src))
index 19cf88c1dd4a55b0b0cddd11c431dec9a67daee5..1c1b9199e7fc4b00e504b09b3d432cb54a36998a 100644 (file)
@@ -18,12 +18,10 @@ PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
-HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="ply==3.10"
 HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="ply==3.10"
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pycparser/Default
@@ -34,14 +32,6 @@ define Package/python-pycparser/Default
   URL:=https://github.com/eliben/pycparser
 endef
 
-define Package/python-pycparser
-$(call Package/python-pycparser/Default)
-  DEPENDS:= \
-      +PACKAGE_python-pycparser:python-light \
-      +PACKAGE_python-pycparser:python-ply
-  VARIANT:=python
-endef
-
 define Package/python3-pycparser
 $(call Package/python-pycparser/Default)
   DEPENDS:= \
@@ -50,22 +40,14 @@ $(call Package/python-pycparser/Default)
   VARIANT:=python3
 endef
 
-define Package/python-pycparser/description
+define Package/python3-pycparser/description
 pycparser is a parser for the C language, written in pure Python. It is a
 module designed to be easily integrated into applications that need to parse
 C source code.
-endef
-
-define Package/python3-pycparser/description
-$(call Package/python-pycparser/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-pycparser))
-$(eval $(call BuildPackage,python-pycparser))
-$(eval $(call BuildPackage,python-pycparser-src))
-
 $(eval $(call Py3Package,python3-pycparser))
 $(eval $(call BuildPackage,python3-pycparser))
 $(eval $(call BuildPackage,python3-pycparser-src))
index 53dccc3066c41a7bba5a8e7480d8cba23b49ed46..e693cacd34478e7cfec6f599512ddab3376f0f71 100644 (file)
@@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:pyopenssl_project:pyopenssl
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pyopenssl/Default
@@ -32,15 +31,6 @@ define Package/python-pyopenssl/Default
   URL:=https://pyopenssl.org/
 endef
 
-define Package/python-pyopenssl
-$(call Package/python-pyopenssl/Default)
-  DEPENDS:= \
-      +PACKAGE_python-pyopenssl:python-light \
-      +PACKAGE_python-pyopenssl:python-cryptography \
-      +PACKAGE_python-pyopenssl:python-six
-  VARIANT:=python
-endef
-
 define Package/python3-pyopenssl
 $(call Package/python-pyopenssl/Default)
   DEPENDS:= \
@@ -50,20 +40,12 @@ $(call Package/python-pyopenssl/Default)
   VARIANT:=python3
 endef
 
-define Package/python-pyopenssl/description
-Python wrapper module around the OpenSSL library
-endef
-
 define Package/python3-pyopenssl/description
-$(call Package/python-pyopenssl/description)
+Python wrapper module around the OpenSSL library
 .
 (Variant for Python3).
 endef
 
-$(eval $(call PyPackage,python-pyopenssl))
-$(eval $(call BuildPackage,python-pyopenssl))
-$(eval $(call BuildPackage,python-pyopenssl-src))
-
 $(eval $(call Py3Package,python3-pyopenssl))
 $(eval $(call BuildPackage,python3-pyopenssl))
 $(eval $(call BuildPackage,python3-pyopenssl-src))
index ca80e6c485651a19e5a2512f27e2b3bb3cdf4f69..7cc4ec91fe5e90fdf06e5eff861178ac5b3af366 100644 (file)
@@ -19,7 +19,6 @@ PKG_MAINTAINER:=Micke Prag <micke.prag@telldus.se>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pyserial/Default
@@ -29,13 +28,6 @@ define Package/python-pyserial/Default
   URL:=https://github.com/pyserial/pyserial
 endef
 
-define Package/python-pyserial
-$(call Package/python-pyserial/Default)
-  TITLE:=python-pyserial
-  DEPENDS:=+PACKAGE_python-pyserial:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-pyserial
 $(call Package/python-pyserial/Default)
   TITLE:=python3-pyserial
@@ -43,23 +35,15 @@ $(call Package/python-pyserial/Default)
   VARIANT:=python3
 endef
 
-define Package/python-pyserial/description
+define Package/python3-pyserial/description
 This module encapsulates the access for the serial port. It provides backends
 for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant
 system) and IronPython. The module named "serial" automatically selects the
 appropriate backend.
-endef
-
-define Package/python3-pyserial/description
-$(call Package/python-pyserial/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-pyserial))
-$(eval $(call BuildPackage,python-pyserial))
-$(eval $(call BuildPackage,python-pyserial-src))
-
 $(eval $(call Py3Package,python3-pyserial))
 $(eval $(call BuildPackage,python3-pyserial))
 $(eval $(call BuildPackage,python3-pyserial-src))
index bdff0ac509feed6640d37de1ba4ec81b0eebf974..f421b198be20b2f042a9954695fcca48f973605f 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE.txt
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-pytz/Default
@@ -30,13 +29,6 @@ define Package/python-pytz/Default
   URL:=https://pythonhosted.org/pytz/
 endef
 
-define Package/python-pytz
-$(call Package/python-pytz/Default)
-  TITLE:=World timezone definitions, modern and historical
-  DEPENDS:=+PACKAGE_python-pytz:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-pytz
 $(call Package/python-pytz/Default)
   TITLE:=World timezone definitions, modern and historical for Python3
@@ -44,20 +36,12 @@ $(call Package/python-pytz/Default)
   VARIANT:=python3
 endef
 
-define Package/python-pytz/description
-  World timezone definitions, modern and historical
-endef
-
 define Package/python3-pytz/description
-$(call Package/python-pytz/description)
+  World timezone definitions, modern and historical
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-pytz))
-$(eval $(call BuildPackage,python-pytz))
-$(eval $(call BuildPackage,python-pytz-src))
-
 $(eval $(call Py3Package,python3-pytz))
 $(eval $(call BuildPackage,python3-pytz))
 $(eval $(call BuildPackage,python3-pytz-src))
index 63c08db39990e0e9aa7806a18417fdc85aefa83c..1628c90d0960dc23c498c454f8b8982ee055fdf5 100644 (file)
@@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-qrcode/Default
@@ -29,20 +28,6 @@ define Package/python-qrcode/Default
   URL:=https://github.com/lincolnloop/python-qrcode
 endef
 
-define Package/python-qrcode
-$(call Package/python-qrcode/Default)
-  DEPENDS:= \
-       +PACKAGE_python-qrcode:python \
-       +PACKAGE_python-qrcode:python-setuptools \
-       +PACKAGE_python-qrcode:python-six \
-       +PACKAGE_python-qrcode:python-pillow
-  VARIANT:=python
-endef
-
-define Package/python-qrcode/description
-  Pure python QR Code generator
-endef
-
 define Package/python3-qrcode
 $(call Package/python-qrcode/Default)
   DEPENDS:= \
@@ -54,15 +39,11 @@ $(call Package/python-qrcode/Default)
 endef
 
 define Package/python3-qrcode/description
-$(call Package/python-qrcode/description)
+  Pure python QR Code generator
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-qrcode))
-$(eval $(call BuildPackage,python-qrcode))
-$(eval $(call BuildPackage,python-qrcode-src))
-
 $(eval $(call Py3Package,python3-qrcode))
 $(eval $(call BuildPackage,python3-qrcode))
 $(eval $(call BuildPackage,python3-qrcode-src))
index 2a812920fa3420cc2b6d31a0a65b3a095c57dd62..7791a8b4dfacac2e1b3f3cbc49ab16bf899b44a1 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-rcssmin/Default
@@ -29,14 +28,6 @@ define Package/python-rcssmin/Default
     URL:=http://opensource.perlig.de/rcssmin/
 endef
 
-define Package/python-rcssmin
-    $(call Package/python-rcssmin/Default)
-    DEPENDS:= \
-       +PACKAGE_python-rcssmin:python-light \
-       +PACKAGE_python-rcssmin:python-codecs
-    VARIANT:=python
-endef
-
 define Package/python3-rcssmin
     $(call Package/python-rcssmin/Default)
     DEPENDS:= \
@@ -44,24 +35,16 @@ define Package/python3-rcssmin
     VARIANT:=python3
 endef
 
-define Package/python-rcssmin/description
+define Package/python3-rcssmin/description
     This module is a re-implementation aiming for speed instead of maximum compression,
     so it can be used at runtime (rather than during a preprocessing step).
     RCSSmin does syntactical compression only (removing spaces, comments and possibly
     semicolons). It does not provide semantic compression (like removing empty blocks,
     collapsing redundant properties etc).
-endef
-
-define Package/python3-rcssmin/description
-$(call Package/python-rcssmin/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-rcssmin))
-$(eval $(call BuildPackage,python-rcssmin))
-$(eval $(call BuildPackage,python-rcssmin-src))
-
 $(eval $(call Py3Package,python3-rcssmin))
 $(eval $(call BuildPackage,python3-rcssmin))
 $(eval $(call BuildPackage,python3-rcssmin-src))
index 30b00d61409e30394b1e9a676b0a985a93619383..6cd863d065b391026e081d1a9db473cba7326cd3 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-requests-oauthlib/Default
@@ -29,15 +28,6 @@ define Package/python-requests-oauthlib/Default
   URL:=https://github.com/requests/requests-oauthlib
 endef
 
-define Package/python-requests-oauthlib
-  $(call Package/python-requests-oauthlib/Default)
-  DEPENDS:= \
-       +PACKAGE_python-requests-oauthlib:python \
-       +PACKAGE_python-requests-oauthlib:python-oauthlib \
-       +PACKAGE_python-requests-oauthlib:python-requests
-  VARIANT:=python
-endef
-
 define Package/python3-requests-oauthlib
   $(call Package/python-requests-oauthlib/Default)
   DEPENDS:= \
@@ -47,21 +37,13 @@ define Package/python3-requests-oauthlib
   VARIANT:=python3
 endef
 
-define Package/python-requests-oauthlib/description
+define Package/python3-requests-oauthlib/description
   This python package provides first-class OAuth library support
   for Requests.
-endef
-
-define Package/python3-requests-oauthlib/description
-$(call Package/python-requests-oauthlib/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-requests-oauthlib))
-$(eval $(call BuildPackage,python-requests-oauthlib))
-$(eval $(call BuildPackage,python-requests-oauthlib-src))
-
 $(eval $(call Py3Package,python3-requests-oauthlib))
 $(eval $(call BuildPackage,python3-requests-oauthlib))
 $(eval $(call BuildPackage,python3-requests-oauthlib-src))
index d7573ed9d58ca723806ccb7dfe9dc7ffbd056f7a..9a33e315f00b15bda0e0590b4675b2b4550e963e 100644 (file)
@@ -21,7 +21,6 @@ PKG_HASH:=b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-requests/Default
@@ -32,17 +31,6 @@ define Package/python-requests/Default
   URL:=https://2.python-requests.org/
 endef
 
-define Package/python-requests
-$(call Package/python-requests/Default)
-  DEPENDS:= \
-         +PACKAGE_python-requests:python \
-         +PACKAGE_python-requests:python-chardet \
-         +PACKAGE_python-requests:python-idna \
-         +PACKAGE_python-requests:python-urllib3 \
-         +PACKAGE_python-requests:python-certifi
-  VARIANT:=python
-endef
-
 define Package/python3-requests
 $(call Package/python-requests/Default)
   DEPENDS:= \
@@ -54,20 +42,12 @@ $(call Package/python-requests/Default)
   VARIANT:=python3
 endef
 
-define Package/python-requests/description
-  Requests is the only Non-GMO HTTP library for Python, safe for human consumption
-endef
-
 define Package/python3-requests/description
-$(call Package/python-requests/description)
+  Requests is the only Non-GMO HTTP library for Python, safe for human consumption
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-requests))
-$(eval $(call BuildPackage,python-requests))
-$(eval $(call BuildPackage,python-requests-src))
-
 $(eval $(call Py3Package,python3-requests))
 $(eval $(call BuildPackage,python3-requests))
 $(eval $(call BuildPackage,python3-requests-src))
index 9bdca772ab5fc91da3e551aafa90e6a8de79f99a..eba462f63513aecfb713b86ccd9233d17bb7df50 100644 (file)
@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-rsa/Default
@@ -23,34 +22,20 @@ define Package/python-rsa/Default
   URL:=https://stuvel.eu/rsa
 endef
 
-define Package/python-rsa
-$(call Package/python-rsa/Default)
-  DEPENDS:=+PACKAGE_python-rsa:python +PACKAGE_python-rsa:python-pyasn1
-  VARIANT:=python
-endef
-
 define Package/python3-rsa
 $(call Package/python-rsa/Default)
   DEPENDS:=+PACKAGE_python3-rsa:python3 +PACKAGE_python3-rsa:python3-pyasn1
   VARIANT:=python3
 endef
 
-define Package/python-rsa/description
+define Package/python3-rsa/description
   Is a pure-Python RSA implementation. It supports encryption and decryption,
   signing and verifying signatures, and key generation according to PKCS#1 version 1.5.
   It can be used as a Python library as well as on the commandline. 
-endef
-
-define Package/python3-rsa/description
-$(call Package/python-rsa/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-rsa))
-$(eval $(call BuildPackage,python-rsa))
-$(eval $(call BuildPackage,python-rsa-src))
-
 $(eval $(call Py3Package,python3-rsa))
 $(eval $(call BuildPackage,python3-rsa))
 $(eval $(call BuildPackage,python3-rsa-src))
index 5ed85e9d83b1111dfa1f7e5cd44bdd2ad8f28e3d..e49212f6c11106b56fcd1d9f4f419cc2adcfe6ec 100644 (file)
@@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-s3transfer/Default
@@ -23,15 +22,6 @@ define Package/python-s3transfer/Default
   URL:=https://github.com/boto/s3transfer
 endef
 
-define Package/python-s3transfer
-$(call Package/python-s3transfer/Default)
-  DEPENDS:= \
-       +PACKAGE_python-s3transfer:python \
-       +PACKAGE_python-s3transfer:python-botocore \
-       +PACKAGE_python-s3transfer:python-futures
-  VARIANT:=python
-endef
-
 define Package/python3-s3transfer
 $(call Package/python-s3transfer/Default)
   DEPENDS:= \
@@ -40,20 +30,12 @@ $(call Package/python-s3transfer/Default)
   VARIANT:=python3
 endef
 
-define Package/python-s3transfer/description
-S3transfer is a Python library for managing Amazon S3 transfers.
-endef
-
 define Package/python3-s3transfer/description
-$(call Package/python-s3transfer/description)
+S3transfer is a Python library for managing Amazon S3 transfers.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-s3transfer))
-$(eval $(call BuildPackage,python-s3transfer))
-$(eval $(call BuildPackage,python-s3transfer-src))
-
 $(eval $(call Py3Package,python3-s3transfer))
 $(eval $(call BuildPackage,python3-s3transfer))
 $(eval $(call BuildPackage,python3-s3transfer-src))
index dc99d4b793f34f24bc38b343296d5f42c7c411dc..5810e1d5787bd2d636ddb899fd1d9270739b6309 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-service-identity/Default
@@ -31,18 +30,6 @@ define Package/python-service-identity/Default
   URL:=https://service-identity.readthedocs.io/
 endef
 
-define Package/python-service-identity
-$(call Package/python-service-identity/Default)
-  DEPENDS:= \
-      +PACKAGE_python-service-identity:python-light \
-      +PACKAGE_python-service-identity:python-attrs \
-      +PACKAGE_python-service-identity:python-cryptography \
-      +PACKAGE_python-service-identity:python-ipaddress \
-      +PACKAGE_python-service-identity:python-pyasn1 \
-      +PACKAGE_python-service-identity:python-pyasn1-modules
-  VARIANT:=python
-endef
-
 define Package/python3-service-identity
 $(call Package/python-service-identity/Default)
   DEPENDS:= \
@@ -54,21 +41,13 @@ $(call Package/python-service-identity/Default)
   VARIANT:=python3
 endef
 
-define Package/python-service-identity/description
+define Package/python3-service-identity/description
 service_identity aspires to give you all the tools you need for
 verifying whether a certificate is valid for the intended purposes.
-endef
-
-define Package/python3-service-identity/description
-$(call Package/python-service-identity/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-service-identity))
-$(eval $(call BuildPackage,python-service-identity))
-$(eval $(call BuildPackage,python-service-identity-src))
-
 $(eval $(call Py3Package,python3-service-identity))
 $(eval $(call BuildPackage,python3-service-identity))
 $(eval $(call BuildPackage,python3-service-identity-src))
index d8a2558fade4b3d68549a0d2030fdd5bb10042dd..808c73871e68b275b392c39826901b825f4f13fb 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-simplejson/Default
@@ -29,13 +28,6 @@ define Package/python-simplejson/Default
   URL:=https://simplejson.readthedocs.org/
 endef
 
-define Package/python-simplejson
-$(call Package/python-simplejson/Default)
-  TITLE:=Simple, fast, extensible JSON encoder/decoder for Python 2
-  DEPENDS:=+PACKAGE_python-simplejson:python-light +PACKAGE_python-simplejson:python-decimal
-  VARIANT:=python
-endef
-
 define Package/python3-simplejson
 $(call Package/python-simplejson/Default)
   TITLE:=Simple, fast, extensible JSON encoder/decoder for Python3
@@ -43,30 +35,17 @@ $(call Package/python-simplejson/Default)
   VARIANT:=python3
 endef
 
-define Package/python-simplejson/description
-  Simple, fast, extensible JSON encoder/decoder for Python
-endef
-
 define Package/python3-simplejson/description
-$(call Package/python-simplejson/description)
+  Simple, fast, extensible JSON encoder/decoder for Python
 .
 (Variant for Python3)
 endef
 
-define PyPackage/python-simplejson/filespec
-+|$(PYTHON_PKG_DIR)
--|$(PYTHON_PKG_DIR)/simplejson/tests
-endef
-
 define Py3Package/python3-simplejson/filespec
 +|$(PYTHON3_PKG_DIR)
 -|$(PYTHON3_PKG_DIR)/simplejson/tests
 endef
 
-$(eval $(call PyPackage,python-simplejson))
-$(eval $(call BuildPackage,python-simplejson))
-$(eval $(call BuildPackage,python-simplejson-src))
-
 $(eval $(call Py3Package,python3-simplejson))
 $(eval $(call BuildPackage,python3-simplejson))
 $(eval $(call BuildPackage,python3-simplejson-src))
index 4125139dcf141aee30f65211a228008eead263c6..3f0250d26c6aa282c1c2276c40ca0fb5b98b3b79 100644 (file)
@@ -23,7 +23,6 @@ HOST_BUILD_DEPENDS:=python3/host
 include ../pypi.mk
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-six/Default
@@ -34,27 +33,17 @@ define Package/python-six/Default
   URL:=https://github.com/benjaminp/six
 endef
 
-define Package/python-six
-$(call Package/python-six/Default)
-  DEPENDS:=+PACKAGE_python-six:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-six
 $(call Package/python-six/Default)
   DEPENDS:=+PACKAGE_python3-six:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-six/description
+define Package/python3-six/description
 Six is a Python 2 and 3 compatibility library.  It provides utility functions
 for smoothing over the differences between the Python versions with the goal of
 writing Python code that is compatible on both Python versions.  See the
 documentation for more information on what is provided.
-endef
-
-define Package/python3-six/description
-$(call Package/python-six/description)
 .
 (Variant for Python3)
 endef
@@ -67,10 +56,6 @@ Host/Install:=
 
 $(eval $(call HostBuild))
 
-$(eval $(call PyPackage,python-six))
-$(eval $(call BuildPackage,python-six))
-$(eval $(call BuildPackage,python-six-src))
-
 $(eval $(call Py3Package,python3-six))
 $(eval $(call BuildPackage,python3-six))
 $(eval $(call BuildPackage,python3-six-src))
index e91743d7c3e07204de93c3e582eaa24c69718d21..ee72d39a0de03770d7683a437b45b298d013f4ce 100644 (file)
@@ -24,7 +24,6 @@ PKG_CPE_ID:=cpe:/a:twistedmatrix:twisted
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-twisted/Default
@@ -35,20 +34,6 @@ define Package/python-twisted/Default
   URL:=https://twistedmatrix.com/
 endef
 
-define Package/python-twisted
-$(call Package/python-twisted/Default)
-  DEPENDS:= \
-      +PACKAGE_python-twisted:python-light \
-      +PACKAGE_python-twisted:python-attrs \
-      +PACKAGE_python-twisted:python-automat \
-      +PACKAGE_python-twisted:python-constantly \
-      +PACKAGE_python-twisted:python-incremental \
-      +PACKAGE_python-twisted:python-hyperlink \
-      +PACKAGE_python-twisted:python-setuptools \
-      +PACKAGE_python-twisted:python-zope-interface
-  VARIANT:=python
-endef
-
 define Package/python3-twisted
 $(call Package/python-twisted/Default)
   DEPENDS:= \
@@ -63,23 +48,14 @@ $(call Package/python-twisted/Default)
   VARIANT:=python3
 endef
 
-define Package/python-twisted/description
+define Package/python3-twisted/description
 Twisted is a networking engine written in Python, supporting numerous
 protocols. It contains a web server, numerous chat clients, chat servers,
 mail servers, and more.
-endef
-
-define Package/python3-twisted/description
-$(call Package/python-twisted/description)
 .
 (Variant for Python3)
 endef
 
-define PyPackage/python-twisted/filespec
-+|$(PYTHON_PKG_DIR)
--|$(PYTHON_PKG_DIR)/twisted/conch/scripts/tkconch.py
-endef
-
 define Py3Package/python3-twisted/filespec
 +|$(PYTHON3_PKG_DIR)
 -|$(PYTHON3_PKG_DIR)/twisted/conch/scripts/tkconch.py
@@ -93,10 +69,6 @@ define Py3Package/python3-twisted/install
        done
 endef
 
-$(eval $(call PyPackage,python-twisted))
-$(eval $(call BuildPackage,python-twisted))
-$(eval $(call BuildPackage,python-twisted-src))
-
 $(eval $(call Py3Package,python3-twisted))
 $(eval $(call BuildPackage,python3-twisted))
 $(eval $(call BuildPackage,python3-twisted-src))
index 7802c1ab37dc44af5cd623031dfbc68332be81b2..d291773f5db636d2da2ba42bfcdcc0ecb57ab524 100644 (file)
@@ -21,7 +21,6 @@ PKG_HASH:=f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-urllib3/Default
@@ -32,16 +31,6 @@ define Package/python-urllib3/Default
   URL:=https://urllib3.readthedocs.io/
 endef
 
-define Package/python-urllib3
-$(call Package/python-urllib3/Default)
-  DEPENDS:=+PACKAGE_python-urllib3:python
-  VARIANT:=python
-endef
-
-define Package/python-urllib3/description
-  HTTP library with thread-safe connection pooling, file post, and more.
-endef
-
 define Package/python3-urllib3
 $(call Package/python-urllib3/Default)
   DEPENDS:=+PACKAGE_python3-urllib3:python3
@@ -49,15 +38,11 @@ $(call Package/python-urllib3/Default)
 endef
 
 define Package/python3-urllib3/description
-$(call Package/python-urllib3/description)
+  HTTP library with thread-safe connection pooling, file post, and more.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-urllib3))
-$(eval $(call BuildPackage,python-urllib3))
-$(eval $(call BuildPackage,python-urllib3-src))
-
 $(eval $(call Py3Package,python3-urllib3))
 $(eval $(call BuildPackage,python3-urllib3))
 $(eval $(call BuildPackage,python3-urllib3-src))
index 910f82a51f107629d03d96a04b46c32898cdacf3..bcac10b079e0d031aeed746b49b8adb5e24136d5 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-voluptuous/Default
@@ -31,13 +30,6 @@ define Package/python-voluptuous/Default
   URL:=https://github.com/alecthomas/voluptuous
 endef
 
-define Package/python-voluptuous
-$(call Package/python-voluptuous/Default)
-  DEPENDS:= \
-      +PACKAGE_python-voluptuous:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-voluptuous
 $(call Package/python-voluptuous/Default)
   DEPENDS:= \
@@ -45,20 +37,12 @@ $(call Package/python-voluptuous/Default)
   VARIANT:=python3
 endef
 
-define Package/python-voluptuous/description
-It is primarily intended for validating data coming into Python as JSON, YAML, etc.
-endef
-
 define Package/python3-voluptuous/description
-$(call Package/python-voluptuous/description)
+It is primarily intended for validating data coming into Python as JSON, YAML, etc.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-voluptuous))
-$(eval $(call BuildPackage,python-voluptuous))
-$(eval $(call BuildPackage,python-voluptuous-src))
-
 $(eval $(call Py3Package,python3-voluptuous))
 $(eval $(call BuildPackage,python3-voluptuous))
 $(eval $(call BuildPackage,python3-voluptuous-src))
index 46eaeaeb13f7684c3ef30848a2f42d54ff6cecb7..dbca6deb5cdbbca0c376a6b4eb00dd42e09965e3 100644 (file)
@@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:pyyaml_project:pyyaml
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-yaml/Default
@@ -33,39 +32,21 @@ define Package/python-yaml/Default
   DEPENDS:=+libyaml
 endef
 
-define Package/python-yaml
-$(call Package/python-yaml/Default)
-  DEPENDS+= \
-       +PACKAGE_python-yaml:python-light \
-       +PACKAGE_python-yaml:python-codecs
-  VARIANT:=python
-endef
-
 define Package/python3-yaml
 $(call Package/python-yaml/Default)
   DEPENDS+=+PACKAGE_python3-yaml:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-yaml/description
-  PyYAML is a YAML parser and emitter for the Python programming language.
-endef
-
 define Package/python3-yaml/description
-$(call Package/python-yaml/description)
+  PyYAML is a YAML parser and emitter for the Python programming language.
 .
 (Variant for Python3)
 endef
 
-PYTHON_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml
-PYTHON_PKG_SETUP_ARGS:=
 PYTHON3_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml
 PYTHON3_PKG_SETUP_ARGS:=
 
-$(eval $(call PyPackage,python-yaml))
-$(eval $(call BuildPackage,python-yaml))
-$(eval $(call BuildPackage,python-yaml-src))
-
 $(eval $(call Py3Package,python3-yaml))
 $(eval $(call BuildPackage,python3-yaml))
 $(eval $(call BuildPackage,python3-yaml-src))
index 06bda5718585351f0b3f8bbc729f4e64f07fe1b7..47674f7bc3be75dc77778ed44835e7cb7aa4c5a4 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-zope-interface/Default
@@ -31,35 +30,21 @@ define Package/python-zope-interface/Default
   URL:=https://github.com/zopefoundation/zope.interface
 endef
 
-define Package/python-zope-interface
-$(call Package/python-zope-interface/Default)
-  DEPENDS:=+PACKAGE_python-zope-interface:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-zope-interface
 $(call Package/python-zope-interface/Default)
   DEPENDS:=+PACKAGE_python3-zope-interface:python3-light
   VARIANT:=python3
 endef
 
-define Package/python-zope-interface/description
+define Package/python3-zope-interface/description
 This package provides an implementation of "object interfaces" for
 Python. Interfaces are a mechanism for labeling objects as conforming to
 a given API or contract. So, this package can be considered as
 implementation of the Design By Contract methodology support in Python.
-endef
-
-define Package/python3-zope-interface/description
-$(call Package/python-zope-interface/description)
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-zope-interface))
-$(eval $(call BuildPackage,python-zope-interface))
-$(eval $(call BuildPackage,python-zope-interface-src))
-
 $(eval $(call Py3Package,python3-zope-interface))
 $(eval $(call BuildPackage,python3-zope-interface))
 $(eval $(call BuildPackage,python3-zope-interface-src))
index bf8119f6849594e423a82bc94ad5e29ca3bb9f65..0fa9f1a383fc99965979dc9e8377cf3f711da1f6 100644 (file)
@@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/ruamel-yaml/Default
@@ -31,13 +30,6 @@ define Package/ruamel-yaml/Default
   URL:=https://bitbucket.org/ruamel/yaml
 endef
 
-define Package/python-ruamel-yaml
-$(call Package/ruamel-yaml/Default)
-  DEPENDS:= \
-      +PACKAGE_python-ruamel-yaml:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-ruamel-yaml
 $(call Package/ruamel-yaml/Default)
   DEPENDS:= \
@@ -45,20 +37,12 @@ $(call Package/ruamel-yaml/Default)
   VARIANT:=python3
 endef
 
-define Package/ruamel-yaml/description
-ruamel-yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order
-endef
-
 define Package/python3-ruamel-yaml/description
-$(call Package/ruamel-yaml/description)
+ruamel-yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-ruamel-yaml))
-$(eval $(call BuildPackage,python-ruamel-yaml))
-$(eval $(call BuildPackage,python-ruamel-yaml-src))
-
 $(eval $(call Py3Package,python3-ruamel-yaml))
 $(eval $(call BuildPackage,python3-ruamel-yaml))
 $(eval $(call BuildPackage,python3-ruamel-yaml-src))
index cb351c53a3db630076001ed0101fac5365ce682d..88acb06f8a2e47083a6554becad0a1f6cb3163cd 100644 (file)
@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-text-unidecode/Default
@@ -31,13 +30,6 @@ define Package/python-text-unidecode/Default
   URL:=https://github.com/kmike/text-unidecode/
 endef
 
-define Package/python-text-unidecode
-$(call Package/python-text-unidecode/Default)
-  DEPENDS:= \
-      +PACKAGE_python-text-unidecode:python-light
-  VARIANT:=python
-endef
-
 define Package/python3-text-unidecode
 $(call Package/python-text-unidecode/Default)
   DEPENDS:= \
@@ -45,20 +37,12 @@ $(call Package/python-text-unidecode/Default)
   VARIANT:=python3
 endef
 
-define Package/python-text-unidecode/description
-text-unidecode is the most basic port of the Text::Unidecode Perl library.
-endef
-
 define Package/python3-text-unidecode/description
-$(call Package/python-text-unidecode/description)
+text-unidecode is the most basic port of the Text::Unidecode Perl library.
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-text-unidecode))
-$(eval $(call BuildPackage,python-text-unidecode))
-$(eval $(call BuildPackage,python-text-unidecode-src))
-
 $(eval $(call Py3Package,python3-text-unidecode))
 $(eval $(call BuildPackage,python3-text-unidecode))
 $(eval $(call BuildPackage,python3-text-unidecode-src))
index 49e81e14383cdc54dc163ee55bf1137a6605ffa8..7afdd59c01dabec376ea8cdcf43ddb66f490a67c 100644 (file)
@@ -14,7 +14,6 @@ PKG_HASH:=96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 
-include ../python-package.mk
 include ../python3-package.mk
 
 define Package/python-vobject/Default
@@ -26,31 +25,18 @@ define Package/python-vobject/Default
   URL:=http://eventable.github.io/vobject/
 endef
 
-define Package/python-vobject
-$(call Package/python-vobject/Default)
-  DEPENDS:=+PACKAGE_python-vobject:python +PACKAGE_python-vobject:python-dateutil
-  VARIANT:=python
-endef
-
 define Package/python3-vobject
 $(call Package/python-vobject/Default)
   DEPENDS:=+PACKAGE_python3-vobject:python3 +PACKAGE_python3-vobject:python3-dateutil
   VARIANT:=python3
 endef
 
-define Package/python-vobject/description
-  vCard and vCalendar support for Python
-endef
-
 define Package/python3-vobject/description
-$(call Package/python-vobject/description)
+  vCard and vCalendar support for Python
 .
 (Variant for Python3)
 endef
 
-$(eval $(call PyPackage,python-vobject))
-$(eval $(call BuildPackage,python-vobject))
-$(eval $(call BuildPackage,python-vobject-src))
 $(eval $(call Py3Package,python3-vobject))
 $(eval $(call BuildPackage,python3-vobject))
 $(eval $(call BuildPackage,python3-vobject-src))