Browse Source

python-libraries: Remove Python 2 variants

The Python 2 variants will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 5 years ago
parent
commit
658b1b6758
78 changed files with 89 additions and 1501 deletions
  1. +1
    -20
      lang/python/bcrypt/Makefile
  2. +1
    -20
      lang/python/django-appconf/Makefile
  3. +4
    -24
      lang/python/django-compressor/Makefile
  4. +1
    -19
      lang/python/django-constance/Makefile
  5. +2
    -20
      lang/python/django-formtools/Makefile
  6. +2
    -21
      lang/python/django-jsonfield/Makefile
  7. +1
    -21
      lang/python/django-picklefield/Makefile
  8. +2
    -21
      lang/python/django-postoffice/Makefile
  9. +1
    -19
      lang/python/django-ranged-response/Makefile
  10. +1
    -19
      lang/python/django-restframework39/Makefile
  11. +2
    -23
      lang/python/django-simple-captcha/Makefile
  12. +1
    -21
      lang/python/django-statici18n/Makefile
  13. +1
    -19
      lang/python/django-webpack-loader/Makefile
  14. +2
    -22
      lang/python/django1/Makefile
  15. +1
    -18
      lang/python/flup/Makefile
  16. +3
    -43
      lang/python/gunicorn/Makefile
  17. +1
    -22
      lang/python/openpyxl/Makefile
  18. +1
    -15
      lang/python/passlib/Makefile
  19. +1
    -18
      lang/python/pillow/Makefile
  20. +1
    -16
      lang/python/pyjwt/Makefile
  21. +2
    -19
      lang/python/pyodbc/Makefile
  22. +1
    -18
      lang/python/python-astral/Makefile
  23. +1
    -16
      lang/python/python-attrs/Makefile
  24. +1
    -26
      lang/python/python-automat/Makefile
  25. +1
    -23
      lang/python/python-awscli/Makefile
  26. +1
    -21
      lang/python/python-botocore/Makefile
  27. +1
    -16
      lang/python/python-certifi/Makefile
  28. +1
    -18
      lang/python/python-cffi/Makefile
  29. +1
    -17
      lang/python/python-chardet/Makefile
  30. +1
    -16
      lang/python/python-colorama/Makefile
  31. +1
    -16
      lang/python/python-constantly/Makefile
  32. +1
    -20
      lang/python/python-crypto/Makefile
  33. +1
    -21
      lang/python/python-cryptodome/Makefile
  34. +1
    -20
      lang/python/python-cryptodomex/Makefile
  35. +1
    -22
      lang/python/python-cryptography/Makefile
  36. +1
    -21
      lang/python/python-curl/Makefile
  37. +1
    -15
      lang/python/python-dateutil/Makefile
  38. +1
    -19
      lang/python/python-defusedxml/Makefile
  39. +1
    -15
      lang/python/python-dns/Makefile
  40. +1
    -17
      lang/python/python-docutils/Makefile
  41. +1
    -18
      lang/python/python-et_xmlfile/Makefile
  42. +1
    -22
      lang/python/python-evdev/Makefile
  43. +1
    -17
      lang/python/python-gmpy2/Makefile
  44. +1
    -23
      lang/python/python-gnupg/Makefile
  45. +1
    -18
      lang/python/python-hyperlink/Makefile
  46. +1
    -18
      lang/python/python-idna/Makefile
  47. +1
    -16
      lang/python/python-incremental/Makefile
  48. +1
    -16
      lang/python/python-jdcal/Makefile
  49. +1
    -16
      lang/python/python-jmespath/Makefile
  50. +1
    -18
      lang/python/python-libmodbus/Makefile
  51. +1
    -30
      lang/python/python-lxml/Makefile
  52. +1
    -17
      lang/python/python-mysqlclient/Makefile
  53. +1
    -16
      lang/python/python-oauthlib/Makefile
  54. +1
    -17
      lang/python/python-parsley/Makefile
  55. +1
    -16
      lang/python/python-ply/Makefile
  56. +1
    -18
      lang/python/python-pyasn1-modules/Makefile
  57. +1
    -16
      lang/python/python-pyasn1/Makefile
  58. +1
    -19
      lang/python/python-pycparser/Makefile
  59. +1
    -19
      lang/python/python-pyopenssl/Makefile
  60. +1
    -17
      lang/python/python-pyserial/Makefile
  61. +1
    -17
      lang/python/python-pytz/Makefile
  62. +1
    -20
      lang/python/python-qrcode/Makefile
  63. +1
    -18
      lang/python/python-rcssmin/Makefile
  64. +1
    -19
      lang/python/python-requests-oauthlib/Makefile
  65. +1
    -21
      lang/python/python-requests/Makefile
  66. +1
    -16
      lang/python/python-rsa/Makefile
  67. +1
    -19
      lang/python/python-s3transfer/Makefile
  68. +1
    -22
      lang/python/python-service-identity/Makefile
  69. +1
    -22
      lang/python/python-simplejson/Makefile
  70. +1
    -16
      lang/python/python-six/Makefile
  71. +1
    -29
      lang/python/python-twisted/Makefile
  72. +1
    -16
      lang/python/python-urllib3/Makefile
  73. +1
    -17
      lang/python/python-voluptuous/Makefile
  74. +1
    -20
      lang/python/python-yaml/Makefile
  75. +1
    -16
      lang/python/python-zope-interface/Makefile
  76. +1
    -17
      lang/python/ruamel-yaml/Makefile
  77. +1
    -17
      lang/python/text-unidecode/Makefile
  78. +1
    -15
      lang/python/vobject/Makefile

+ 1
- 20
lang/python/bcrypt/Makefile View File

@ -16,12 +16,10 @@ PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=libffi/host PKG_BUILD_DEPENDS:=libffi/host
HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi>=1.1"
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.1" HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.1"
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/bcrypt/Default define Package/bcrypt/Default
@ -32,15 +30,6 @@ define Package/bcrypt/Default
URL:=https://github.com/pyca/bcrypt/ URL:=https://github.com/pyca/bcrypt/
endef 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 define Package/python3-bcrypt
$(call Package/bcrypt/Default) $(call Package/bcrypt/Default)
DEPENDS:= \ DEPENDS:= \
@ -50,20 +39,12 @@ $(call Package/bcrypt/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-bcrypt/description
Good password hashing for your software and your servers.
endef
define Package/python3-bcrypt/description define Package/python3-bcrypt/description
$(call Package/python-bcrypt/description)
Good password hashing for your software and your servers.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-bcrypt))
$(eval $(call BuildPackage,python-bcrypt))
$(eval $(call BuildPackage,python-bcrypt-src))
$(eval $(call Py3Package,python3-bcrypt)) $(eval $(call Py3Package,python3-bcrypt))
$(eval $(call BuildPackage,python3-bcrypt)) $(eval $(call BuildPackage,python3-bcrypt))
$(eval $(call BuildPackage,python3-bcrypt-src)) $(eval $(call BuildPackage,python3-bcrypt-src))

+ 1
- 20
lang/python/django-appconf/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-appconf/Default define Package/django-appconf/Default
@ -31,20 +30,6 @@ define Package/django-appconf/Default
URL:=https://django-appconf.readthedocs.io URL:=https://django-appconf.readthedocs.io
endef 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 define Package/python3-django-appconf
$(call Package/django-appconf/Default) $(call Package/django-appconf/Default)
DEPENDS:= \ DEPENDS:= \
@ -55,15 +40,11 @@ $(call Package/django-appconf/Default)
endef endef
define Package/python3-django-appconf/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-appconf))
$(eval $(call BuildPackage,python3-django-appconf)) $(eval $(call BuildPackage,python3-django-appconf))
$(eval $(call BuildPackage,python3-django-appconf-src)) $(eval $(call BuildPackage,python3-django-appconf-src))

+ 4
- 24
lang/python/django-compressor/Makefile View File

@ -21,7 +21,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-compressor/Default define Package/django-compressor/Default
@ -32,24 +31,6 @@ define Package/django-compressor/Default
URL:=https://django-compressor.readthedocs.io URL:=https://django-compressor.readthedocs.io
endef 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 define Package/python3-django-compressor
$(call Package/django-compressor/Default) $(call Package/django-compressor/Default)
DEPENDS:= \ DEPENDS:= \
@ -61,15 +42,14 @@ $(call Package/django-compressor/Default)
endef endef
define Package/python3-django-compressor/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-compressor))
$(eval $(call BuildPackage,python3-django-compressor)) $(eval $(call BuildPackage,python3-django-compressor))
$(eval $(call BuildPackage,python3-django-compressor-src)) $(eval $(call BuildPackage,python3-django-compressor-src))

+ 1
- 19
lang/python/django-constance/Makefile View File

@ -19,7 +19,6 @@ PKG_LICENSE:=BSD-3-Clause
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-django-constance/Default define Package/python-django-constance/Default
@ -30,19 +29,6 @@ define Package/python-django-constance/Default
URL:=https://github.com/jazzband/django-constance URL:=https://github.com/jazzband/django-constance
endef 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 define Package/python3-django-constance
$(call Package/python-django-constance/Default) $(call Package/python-django-constance/Default)
DEPENDS:= \ DEPENDS:= \
@ -52,15 +38,11 @@ $(call Package/python-django-constance/Default)
endef endef
define Package/python3-django-constance/description define Package/python3-django-constance/description
$(call Package/python-django-constance/description)
Django live settings with pluggable backends, including Redis.
. .
(Variant for Python3) (Variant for Python3)
endef 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 Py3Package,python3-django-constance))
$(eval $(call BuildPackage,python3-django-constance)) $(eval $(call BuildPackage,python3-django-constance))
$(eval $(call BuildPackage,python3-django-constance-src)) $(eval $(call BuildPackage,python3-django-constance-src))

+ 2
- 20
lang/python/django-formtools/Makefile View File

@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-formtools/Default define Package/django-formtools/Default
@ -29,20 +28,6 @@ define Package/django-formtools/Default
URL:=https://django-formtools.readthedocs.io URL:=https://django-formtools.readthedocs.io
endef 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 define Package/python3-django-formtools
$(call Package/django-formtools/Default) $(call Package/django-formtools/Default)
DEPENDS:= \ DEPENDS:= \
@ -52,15 +37,12 @@ $(call Package/django-formtools/Default)
endef endef
define Package/python3-django-formtools/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-formtools))
$(eval $(call BuildPackage,python3-django-formtools)) $(eval $(call BuildPackage,python3-django-formtools))
$(eval $(call BuildPackage,python3-django-formtools-src)) $(eval $(call BuildPackage,python3-django-formtools-src))

+ 2
- 21
lang/python/django-jsonfield/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-jsonfield/Default define Package/django-jsonfield/Default
@ -31,21 +30,6 @@ define Package/django-jsonfield/Default
URL:=https://github.com/rpkilby/jsonfield URL:=https://github.com/rpkilby/jsonfield
endef 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 define Package/python3-django-jsonfield
$(call Package/django-jsonfield/Default) $(call Package/django-jsonfield/Default)
DEPENDS:= \ DEPENDS:= \
@ -56,15 +40,12 @@ $(call Package/django-jsonfield/Default)
endef endef
define Package/python3-django-jsonfield/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-jsonfield))
$(eval $(call BuildPackage,python3-django-jsonfield)) $(eval $(call BuildPackage,python3-django-jsonfield))
$(eval $(call BuildPackage,python3-django-jsonfield-src)) $(eval $(call BuildPackage,python3-django-jsonfield-src))

+ 1
- 21
lang/python/django-picklefield/Makefile View File

@ -20,11 +20,8 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PYTHON_PKG_SETUP_VARS:= \
PKG_VERSION="$(PKG_VERSION)"
PYTHON3_PKG_SETUP_VARS:= \ PYTHON3_PKG_SETUP_VARS:= \
PKG_VERSION="$(PKG_VERSION)" PKG_VERSION="$(PKG_VERSION)"
@ -36,19 +33,6 @@ define Package/django-picklefield/Default
URL:=https://github.com/gintas/django-picklefield/ URL:=https://github.com/gintas/django-picklefield/
endef 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 define Package/python3-django-picklefield
$(call Package/django-picklefield/Default) $(call Package/django-picklefield/Default)
DEPENDS:= \ DEPENDS:= \
@ -58,15 +42,11 @@ $(call Package/django-picklefield/Default)
endef endef
define Package/python3-django-picklefield/description define Package/python3-django-picklefield/description
$(call Package/python-django-picklefield/description)
Pickled object field for Django
. .
(Variant for Python3) (Variant for Python3)
endef 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 Py3Package,python3-django-picklefield))
$(eval $(call BuildPackage,python3-django-picklefield)) $(eval $(call BuildPackage,python3-django-picklefield))
$(eval $(call BuildPackage,python3-django-picklefield-src)) $(eval $(call BuildPackage,python3-django-picklefield-src))

+ 2
- 21
lang/python/django-postoffice/Makefile View File

@ -21,7 +21,6 @@ PKG_LICENSE_FILES:=LICENSE.txt
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-postoffice/Default define Package/django-postoffice/Default
@ -32,21 +31,6 @@ define Package/django-postoffice/Default
URL:=https://github.com/ui/django-post_office URL:=https://github.com/ui/django-post_office
endef 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 define Package/python3-django-postoffice
$(call Package/django-postoffice/Default) $(call Package/django-postoffice/Default)
DEPENDS:= \ DEPENDS:= \
@ -57,15 +41,12 @@ $(call Package/django-postoffice/Default)
endef endef
define Package/python3-django-postoffice/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-postoffice))
$(eval $(call BuildPackage,python3-django-postoffice)) $(eval $(call BuildPackage,python3-django-postoffice))
$(eval $(call BuildPackage,python3-django-postoffice-src)) $(eval $(call BuildPackage,python3-django-postoffice-src))

+ 1
- 19
lang/python/django-ranged-response/Makefile View File

@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-ranged-response/Default define Package/django-ranged-response/Default
@ -29,19 +28,6 @@ define Package/django-ranged-response/Default
URL:=https://github.com/i3thuan5/django-ranged-response URL:=https://github.com/i3thuan5/django-ranged-response
endef 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 define Package/python3-django-ranged-response
$(call Package/django-ranged-response/Default) $(call Package/django-ranged-response/Default)
DEPENDS:= \ DEPENDS:= \
@ -51,15 +37,11 @@ $(call Package/django-ranged-response/Default)
endef endef
define Package/python3-django-ranged-response/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-ranged-response))
$(eval $(call BuildPackage,python3-django-ranged-response)) $(eval $(call BuildPackage,python3-django-ranged-response))
$(eval $(call BuildPackage,python3-django-ranged-response-src)) $(eval $(call BuildPackage,python3-django-ranged-response-src))

+ 1
- 19
lang/python/django-restframework39/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE.md
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-restframework39/Default define Package/django-restframework39/Default
@ -31,19 +30,6 @@ define Package/django-restframework39/Default
URL:=https://www.django-rest-framework.org URL:=https://www.django-rest-framework.org
endef 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 define Package/python3-django-restframework39
$(call Package/django-restframework39/Default) $(call Package/django-restframework39/Default)
DEPENDS:= \ DEPENDS:= \
@ -54,15 +40,11 @@ $(call Package/django-restframework39/Default)
endef endef
define Package/python3-django-restframework39/description define Package/python3-django-restframework39/description
$(call Package/python-django-restframework39/description)
Web APIs for Django, made easy. (3.9 series)
. .
(Variant for Python3) (Variant for Python3)
endef 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 Py3Package,python3-django-restframework39))
$(eval $(call BuildPackage,python3-django-restframework39)) $(eval $(call BuildPackage,python3-django-restframework39))
$(eval $(call BuildPackage,python3-django-restframework39-src)) $(eval $(call BuildPackage,python3-django-restframework39-src))

+ 2
- 23
lang/python/django-simple-captcha/Makefile View File

@ -22,7 +22,6 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) 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 URL:=https://github.com/mbi/django-simple-captcha
endef 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 define Package/python3-django-simple-captcha
$(call Package/django-simple-captcha/Default) $(call Package/django-simple-captcha/Default)
DEPENDS:= \ DEPENDS:= \
@ -64,15 +46,12 @@ $(call Package/django-simple-captcha/Default)
endef endef
define Package/python3-django-simple-captcha/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-simple-captcha))
$(eval $(call BuildPackage,python3-django-simple-captcha)) $(eval $(call BuildPackage,python3-django-simple-captcha))
$(eval $(call BuildPackage,python3-django-simple-captcha-src)) $(eval $(call BuildPackage,python3-django-simple-captcha-src))

+ 1
- 21
lang/python/django-statici18n/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-statici18n/Default define Package/django-statici18n/Default
@ -31,21 +30,6 @@ define Package/django-statici18n/Default
URL:=https://django-statici18n.readthedocs.io URL:=https://django-statici18n.readthedocs.io
endef 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 define Package/python3-django-statici18n
$(call Package/django-statici18n/Default) $(call Package/django-statici18n/Default)
DEPENDS:= \ DEPENDS:= \
@ -57,15 +41,11 @@ $(call Package/django-statici18n/Default)
endef endef
define Package/python3-django-statici18n/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-statici18n))
$(eval $(call BuildPackage,python3-django-statici18n)) $(eval $(call BuildPackage,python3-django-statici18n))
$(eval $(call BuildPackage,python3-django-statici18n-src)) $(eval $(call BuildPackage,python3-django-statici18n-src))

+ 1
- 19
lang/python/django-webpack-loader/Makefile View File

@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django-webpack-loader/Default define Package/django-webpack-loader/Default
@ -29,19 +28,6 @@ define Package/django-webpack-loader/Default
URL:=https://github.com/owais/django-webpack-loader URL:=https://github.com/owais/django-webpack-loader
endef 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 define Package/python3-django-webpack-loader
$(call Package/django-webpack-loader/Default) $(call Package/django-webpack-loader/Default)
DEPENDS:= \ DEPENDS:= \
@ -51,15 +37,11 @@ $(call Package/django-webpack-loader/Default)
endef endef
define Package/python3-django-webpack-loader/description 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) (Variant for Python3)
endef 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 Py3Package,python3-django-webpack-loader))
$(eval $(call BuildPackage,python3-django-webpack-loader)) $(eval $(call BuildPackage,python3-django-webpack-loader))
$(eval $(call BuildPackage,python3-django-webpack-loader-src)) $(eval $(call BuildPackage,python3-django-webpack-loader-src))

+ 2
- 22
lang/python/django1/Makefile View File

@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:djangoproject:django
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/django1/Default define Package/django1/Default
@ -32,20 +31,6 @@ define Package/django1/Default
URL:=https://www.djangoproject.com/ URL:=https://www.djangoproject.com/
endef 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 define Package/python3-django1
$(call Package/django1/Default) $(call Package/django1/Default)
DEPENDS:= \ DEPENDS:= \
@ -57,7 +42,7 @@ $(call Package/django1/Default)
endef endef
define Package/python3-django1/description define Package/python3-django1/description
$(call Package/python-django1/description)
The web framework for perfectionists with deadlines (LTS 1.11 series).
. .
(Variant for Python3) (Variant for Python3)
endef endef
@ -67,12 +52,11 @@ $(call Package/django1/Default)
endef endef
define Package/python-django1-common/description 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. This package contains files common to both Python 2.7 and Python 3.
endef endef
PyPackage/python-django1/install:=:
Py3Package/python3-django1/install:=: Py3Package/python3-django1/install:=:
define Package/python-django1-common/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 $(INSTALL_BIN) ./files/django-admin $(1)/usr/bin
endef endef
$(eval $(call PyPackage,python-django1))
$(eval $(call BuildPackage,python-django1))
$(eval $(call BuildPackage,python-django1-src))
$(eval $(call Py3Package,python3-django1)) $(eval $(call Py3Package,python3-django1))
$(eval $(call BuildPackage,python3-django1)) $(eval $(call BuildPackage,python3-django1))
$(eval $(call BuildPackage,python3-django1-src)) $(eval $(call BuildPackage,python3-django1-src))


+ 1
- 18
lang/python/flup/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=PKG-INFO
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/flup/Default define Package/flup/Default
@ -31,14 +30,6 @@ define Package/flup/Default
URL:=https://www.saddi.com/software/flup/ URL:=https://www.saddi.com/software/flup/
endef 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 define Package/python3-flup
$(call Package/flup/Default) $(call Package/flup/Default)
DEPENDS+= \ DEPENDS+= \
@ -47,20 +38,12 @@ $(call Package/flup/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-flup/description
Random assortment of WSGI servers.
endef
define Package/python3-flup/description define Package/python3-flup/description
$(call Package/python-flup/description)
Random assortment of WSGI servers.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-flup))
$(eval $(call BuildPackage,python-flup))
$(eval $(call BuildPackage,python-flup-src))
$(eval $(call Py3Package,python3-flup)) $(eval $(call Py3Package,python3-flup))
$(eval $(call BuildPackage,python3-flup)) $(eval $(call BuildPackage,python3-flup))
$(eval $(call BuildPackage,python3-flup-src)) $(eval $(call BuildPackage,python3-flup-src))

+ 3
- 43
lang/python/gunicorn/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/gunicorn/Default define Package/gunicorn/Default
@ -31,21 +30,6 @@ define Package/gunicorn/Default
URL:=https://gunicorn.org URL:=https://gunicorn.org
endef 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 define Package/python3-gunicorn
$(call Package/gunicorn/Default) $(call Package/gunicorn/Default)
DEPENDS:=+python3 DEPENDS:=+python3
@ -53,43 +37,24 @@ $(call Package/gunicorn/Default)
endef endef
define Package/python3-gunicorn/description define Package/python3-gunicorn/description
$(call Package/python-gunicorn/description)
WSGI HTTP Server for UNIX (libraries)
. .
(Variant for Python3) (Variant for Python3)
endef endef
# Make sure that the binaries are not installed with the libraries # 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 define Py3Package/python3-gunicorn/install
: :
endef 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 define Package/gunicorn3
$(call Package/gunicorn/Default) $(call Package/gunicorn/Default)
DEPENDS:=+python3 +python3-pkg-resources +python3-gunicorn DEPENDS:=+python3 +python3-pkg-resources +python3-gunicorn
endef endef
define Package/gunicorn3/description define Package/gunicorn3/description
$(call Package/gunicorn/description)
WSGI HTTP Server for UNIX (daemon)
. .
(Variant for Python3) (Variant for Python3)
endef endef
@ -105,11 +70,6 @@ define Package/gunicorn3/install
$(call Py3Shebang,$(1)/usr/bin/*) $(call Py3Shebang,$(1)/usr/bin/*)
endef 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 Py3Package,python3-gunicorn))
$(eval $(call BuildPackage,python3-gunicorn)) $(eval $(call BuildPackage,python3-gunicorn))
$(eval $(call BuildPackage,python3-gunicorn-src)) $(eval $(call BuildPackage,python3-gunicorn-src))


+ 1
- 22
lang/python/openpyxl/Makefile View File

@ -20,7 +20,6 @@ PKG_HASH:=1d2af392cef8c8227bd2ac3ebe3a28b25aba74fd4fa473ce106065f0b73bfe2e
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-openpyxl/Default define Package/python-openpyxl/Default
@ -31,18 +30,6 @@ define Package/python-openpyxl/Default
URL:=https://openpyxl.readthedocs.org/ URL:=https://openpyxl.readthedocs.org/
endef 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 define Package/python3-openpyxl
$(call Package/python-openpyxl/Default) $(call Package/python-openpyxl/Default)
DEPENDS:= \ DEPENDS:= \
@ -53,20 +40,12 @@ define Package/python3-openpyxl
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-openpyxl/description
A Python library to read/write Excel 2010 xlsx/xlsm files
endef
define Package/python3-openpyxl/description define Package/python3-openpyxl/description
$(call Package/python-openpyxl/description)
A Python library to read/write Excel 2010 xlsx/xlsm files
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-openpyxl))
$(eval $(call BuildPackage,python-openpyxl))
$(eval $(call BuildPackage,python-openpyxl-src))
$(eval $(call Py3Package,python3-openpyxl)) $(eval $(call Py3Package,python3-openpyxl))
$(eval $(call BuildPackage,python3-openpyxl)) $(eval $(call BuildPackage,python3-openpyxl))
$(eval $(call BuildPackage,python3-openpyxl-src)) $(eval $(call BuildPackage,python3-openpyxl-src))

+ 1
- 15
lang/python/passlib/Makefile View File

@ -14,7 +14,6 @@ PKG_HASH:=8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/passlib/Default define Package/passlib/Default
@ -25,37 +24,24 @@ define Package/passlib/Default
URL:=https://bitbucket.org/ecollins/passlib URL:=https://bitbucket.org/ecollins/passlib
endef 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 define Package/python3-passlib
$(call Package/passlib/Default) $(call Package/passlib/Default)
DEPENDS:=+PACKAGE_python3-passlib:python3 +PACKAGE_python3-passlib:python3-dateutil DEPENDS:=+PACKAGE_python3-passlib:python3 +PACKAGE_python3-passlib:python3-dateutil
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-passlib/description
define Package/python3-passlib/description
Passlib is a password hashing library for Python 2 & 3, which provides Passlib is a password hashing library for Python 2 & 3, which provides
cross-platform implementations of over 30 password hashing algorithms, cross-platform implementations of over 30 password hashing algorithms,
as well as a framework for managing existing password hashes. Its as well as a framework for managing existing password hashes. Its
designed to be useful for a wide range of tasks, from verifying a hash 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 found in /etc/shadow, to providing full-strength password hashing for
multi-user applications. multi-user applications.
endef
define Package/python3-passlib/description
$(call Package/python-passlib/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-passlib))
$(eval $(call Py3Package,python3-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))
$(eval $(call BuildPackage,python3-passlib-src)) $(eval $(call BuildPackage,python3-passlib-src))

+ 1
- 18
lang/python/pillow/Makefile View File

@ -20,7 +20,6 @@ PKG_CPE_ID:=cpe:/a:python:pillow
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pillow/Default define Package/python-pillow/Default
@ -32,16 +31,6 @@ define Package/python-pillow/Default
DEPENDS:=+libfreetype +libjpeg +libtiff +zlib DEPENDS:=+libfreetype +libjpeg +libtiff +zlib
endef 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 define Package/python3-pillow
$(call Package/python-pillow/Default) $(call Package/python-pillow/Default)
DEPENDS+=+PACKAGE_python3-pillow:python3 DEPENDS+=+PACKAGE_python3-pillow:python3
@ -49,7 +38,7 @@ $(call Package/python-pillow/Default)
endef endef
define Package/python3-pillow/description define Package/python3-pillow/description
$(call Package/python-pillow/description)
The friendly PIL fork
. .
(Variant for Python3) (Variant for Python3)
endef endef
@ -66,12 +55,6 @@ PYTHON3_PKG_SETUP_GLOBAL_ARGS += build_ext \
--disable-imagequant \ --disable-imagequant \
--disable-platform-guessing --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 Py3Package,python3-pillow))
$(eval $(call BuildPackage,python3-pillow)) $(eval $(call BuildPackage,python3-pillow))
$(eval $(call BuildPackage,python3-pillow-src)) $(eval $(call BuildPackage,python3-pillow-src))

+ 1
- 16
lang/python/pyjwt/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pyjwt/Default define Package/python-pyjwt/Default
@ -29,32 +28,18 @@ define Package/python-pyjwt/Default
URL:=http://github.com/jpadilla/pyjwt URL:=http://github.com/jpadilla/pyjwt
endef endef
define Package/python-pyjwt
$(call Package/python-pyjwt/Default)
DEPENDS:=+PACKAGE_python-pyjwt:python
VARIANT:=python
endef
define Package/python3-pyjwt define Package/python3-pyjwt
$(call Package/python-pyjwt/Default) $(call Package/python-pyjwt/Default)
DEPENDS:=+PACKAGE_python3-pyjwt:python3 DEPENDS:=+PACKAGE_python3-pyjwt:python3
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-pyjwt/description
A Python implementation of RFC 7519.
endef
define Package/python3-pyjwt/description define Package/python3-pyjwt/description
$(call Package/python-pyjwt/description)
A Python implementation of RFC 7519.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-pyjwt))
$(eval $(call BuildPackage,python-pyjwt))
$(eval $(call BuildPackage,python-pyjwt-src))
$(eval $(call Py3Package,python3-pyjwt)) $(eval $(call Py3Package,python3-pyjwt))
$(eval $(call BuildPackage,python3-pyjwt)) $(eval $(call BuildPackage,python3-pyjwt))
$(eval $(call BuildPackage,python3-pyjwt-src)) $(eval $(call BuildPackage,python3-pyjwt-src))

+ 2
- 19
lang/python/pyodbc/Makefile View File

@ -10,7 +10,7 @@ PKG_RELEASE:=2
PYPI_NAME:=$(PKG_NAME) PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3 PKG_HASH:=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3
PKG_BUILD_DEPENDS:=python python3 unixodbc
PKG_BUILD_DEPENDS:=python3 unixodbc
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
@ -20,7 +20,6 @@ PKG_BUILD_DEPENDS:=unixodbc/host
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pyodbc/Default define Package/python-pyodbc/Default
@ -31,15 +30,6 @@ define Package/python-pyodbc/Default
DEPENDS:=+unixodbc $(CXX_DEPENDS) DEPENDS:=+unixodbc $(CXX_DEPENDS)
endef 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 define Package/python3-pyodbc
$(call Package/python-pyodbc/Default) $(call Package/python-pyodbc/Default)
TITLE:=python3-pyodbc TITLE:=python3-pyodbc
@ -47,21 +37,14 @@ $(call Package/python-pyodbc/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-pyodbc/description
define Package/python3-pyodbc/description
DB API Module for ODBC DB API Module for ODBC
A Python DB API 2 module for ODBC. This project provides an up-to-date, 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. 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-pyodbc))
$(eval $(call BuildPackage,python-pyodbc))
$(eval $(call Py3Package,python3-pyodbc)) $(eval $(call Py3Package,python3-pyodbc))
$(eval $(call BuildPackage,python3-pyodbc)) $(eval $(call BuildPackage,python3-pyodbc))

+ 1
- 18
lang/python/python-astral/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-astral/Default define Package/python-astral/Default
@ -31,14 +30,6 @@ define Package/python-astral/Default
URL:=https://github.com/sffjunkie/astral URL:=https://github.com/sffjunkie/astral
endef 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 define Package/python3-astral
$(call Package/python-astral/Default) $(call Package/python-astral/Default)
DEPENDS+= \ DEPENDS+= \
@ -47,20 +38,12 @@ $(call Package/python-astral/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-astral))
$(eval $(call BuildPackage,python-astral))
$(eval $(call BuildPackage,python-astral-src))
$(eval $(call Py3Package,python3-astral)) $(eval $(call Py3Package,python3-astral))
$(eval $(call BuildPackage,python3-astral)) $(eval $(call BuildPackage,python3-astral))
$(eval $(call BuildPackage,python3-astral-src)) $(eval $(call BuildPackage,python3-astral-src))

+ 1
- 16
lang/python/python-attrs/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-attrs/Default define Package/python-attrs/Default
@ -31,34 +30,20 @@ define Package/python-attrs/Default
URL:=https://www.attrs.org/ URL:=https://www.attrs.org/
endef endef
define Package/python-attrs
$(call Package/python-attrs/Default)
DEPENDS:=+PACKAGE_python-attrs:python-light
VARIANT:=python
endef
define Package/python3-attrs define Package/python3-attrs
$(call Package/python-attrs/Default) $(call Package/python-attrs/Default)
DEPENDS:=+PACKAGE_python3-attrs:python3-light DEPENDS:=+PACKAGE_python3-attrs:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-attrs/description
define Package/python3-attrs/description
attrs is an MIT-licensed Python package with class decorators that ease attrs is an MIT-licensed Python package with class decorators that ease
the chores of implementing the most common attribute-related object the chores of implementing the most common attribute-related object
protocols. protocols.
endef
define Package/python3-attrs/description
$(call Package/python-attrs/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-attrs))
$(eval $(call BuildPackage,python-attrs))
$(eval $(call BuildPackage,python-attrs-src))
$(eval $(call Py3Package,python3-attrs)) $(eval $(call Py3Package,python3-attrs))
$(eval $(call BuildPackage,python3-attrs)) $(eval $(call BuildPackage,python3-attrs))
$(eval $(call BuildPackage,python3-attrs-src)) $(eval $(call BuildPackage,python3-attrs-src))

+ 1
- 26
lang/python/python-automat/Makefile View File

@ -20,11 +20,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PYTHON_PKG_SETUP_VARS:= \
PKG_VERSION="$(PKG_VERSION)"
PYTHON3_PKG_SETUP_VARS:= \ PYTHON3_PKG_SETUP_VARS:= \
PKG_VERSION="$(PKG_VERSION)" PKG_VERSION="$(PKG_VERSION)"
@ -36,15 +33,6 @@ define Package/python-automat/Default
URL:=https://github.com/glyph/Automat URL:=https://github.com/glyph/Automat
endef 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 define Package/python3-automat
$(call Package/python-automat/Default) $(call Package/python-automat/Default)
DEPENDS:= \ DEPENDS:= \
@ -54,32 +42,19 @@ $(call Package/python-automat/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-automat/description
define Package/python3-automat/description
Automat is a library for concise, idiomatic Python expression of Automat is a library for concise, idiomatic Python expression of
finite-state automata (particularly deterministic finite-state finite-state automata (particularly deterministic finite-state
transducers). transducers).
endef
define Package/python3-automat/description
$(call Package/python-automat/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
define PyPackage/python-automat/filespec
+|$(PYTHON_PKG_DIR)
-|$(PYTHON_PKG_DIR)/automat/_visualize.py
endef
define Py3Package/python3-automat/filespec define Py3Package/python3-automat/filespec
+|$(PYTHON3_PKG_DIR) +|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/automat/_visualize.py -|$(PYTHON3_PKG_DIR)/automat/_visualize.py
endef endef
$(eval $(call PyPackage,python-automat))
$(eval $(call BuildPackage,python-automat))
$(eval $(call BuildPackage,python-automat-src))
$(eval $(call Py3Package,python3-automat)) $(eval $(call Py3Package,python3-automat))
$(eval $(call BuildPackage,python3-automat)) $(eval $(call BuildPackage,python3-automat))
$(eval $(call BuildPackage,python3-automat-src)) $(eval $(call BuildPackage,python3-automat-src))

+ 1
- 23
lang/python/python-awscli/Makefile View File

@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-awscli/Default define Package/python-awscli/Default
@ -23,19 +22,6 @@ define Package/python-awscli/Default
URL:=https://github.com/aws/aws-cli URL:=https://github.com/aws/aws-cli
endef 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 define Package/python3-awscli
$(call Package/python-awscli/Default) $(call Package/python-awscli/Default)
DEPENDS:=+PACKAGE_python3-awscli:python3 \ DEPENDS:=+PACKAGE_python3-awscli:python3 \
@ -49,20 +35,12 @@ $(call Package/python-awscli/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-awscli/description
This package provides a unified command line interface to Amazon Web Services.
endef
define Package/python3-awscli/description 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-awscli))
$(eval $(call BuildPackage,python-awscli))
$(eval $(call BuildPackage,python-awscli-src))
$(eval $(call Py3Package,python3-awscli)) $(eval $(call Py3Package,python3-awscli))
$(eval $(call BuildPackage,python3-awscli)) $(eval $(call BuildPackage,python3-awscli))
$(eval $(call BuildPackage,python3-awscli-src)) $(eval $(call BuildPackage,python3-awscli-src))

+ 1
- 21
lang/python/python-botocore/Makefile View File

@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-botocore/Default define Package/python-botocore/Default
@ -23,17 +22,6 @@ define Package/python-botocore/Default
URL:=https://github.com/boto/botocore URL:=https://github.com/boto/botocore
endef 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 define Package/python3-botocore
$(call Package/python-botocore/Default) $(call Package/python-botocore/Default)
DEPENDS:=+PACKAGE_python3-botocore:python3 \ DEPENDS:=+PACKAGE_python3-botocore:python3 \
@ -45,21 +33,13 @@ $(call Package/python-botocore/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-botocore/description
define Package/python3-botocore/description
A low-level interface to a growing number of Amazon Web Services. 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. 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-botocore))
$(eval $(call BuildPackage,python-botocore))
$(eval $(call BuildPackage,python-botocore-src))
$(eval $(call Py3Package,python3-botocore)) $(eval $(call Py3Package,python3-botocore))
$(eval $(call BuildPackage,python3-botocore)) $(eval $(call BuildPackage,python3-botocore))
$(eval $(call BuildPackage,python3-botocore-src)) $(eval $(call BuildPackage,python3-botocore-src))

+ 1
- 16
lang/python/python-certifi/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-certifi/Default define Package/python-certifi/Default
@ -29,33 +28,19 @@ define Package/python-certifi/Default
URL:=http://certifi.io/ URL:=http://certifi.io/
endef endef
define Package/python-certifi
$(call Package/python-certifi/Default)
DEPENDS:=+PACKAGE_python-certifi:python-light
VARIANT:=python
endef
define Package/python3-certifi define Package/python3-certifi
$(call Package/python-certifi/Default) $(call Package/python-certifi/Default)
DEPENDS:=+PACKAGE_python3-certifi:python3-light DEPENDS:=+PACKAGE_python3-certifi:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-certifi/description
define Package/python3-certifi/description
Certifi is a carefully curated collection of Root Certificates for validating the Certifi is a carefully curated collection of Root Certificates for validating the
trustworthiness of SSL certificates while verifying the identity of TLS hosts. 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-certifi))
$(eval $(call BuildPackage,python-certifi))
$(eval $(call BuildPackage,python-certifi-src))
$(eval $(call Py3Package,python3-certifi)) $(eval $(call Py3Package,python3-certifi))
$(eval $(call BuildPackage,python3-certifi)) $(eval $(call BuildPackage,python3-certifi))
$(eval $(call BuildPackage,python3-certifi-src)) $(eval $(call BuildPackage,python3-certifi-src))

+ 1
- 18
lang/python/python-cffi/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-cffi/Default define Package/python-cffi/Default
@ -32,14 +31,6 @@ define Package/python-cffi/Default
DEPENDS:=+libffi DEPENDS:=+libffi
endef 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 define Package/python3-cffi
$(call Package/python-cffi/Default) $(call Package/python-cffi/Default)
DEPENDS+= \ DEPENDS+= \
@ -48,20 +39,12 @@ $(call Package/python-cffi/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-cffi/description
Foreign Function Interface for Python calling C code.
endef
define Package/python3-cffi/description define Package/python3-cffi/description
$(call Package/python-cffi/description)
Foreign Function Interface for Python calling C code.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-cffi))
$(eval $(call BuildPackage,python-cffi))
$(eval $(call BuildPackage,python-cffi-src))
$(eval $(call Py3Package,python3-cffi)) $(eval $(call Py3Package,python3-cffi))
$(eval $(call BuildPackage,python3-cffi)) $(eval $(call BuildPackage,python3-cffi))
$(eval $(call BuildPackage,python3-cffi-src)) $(eval $(call BuildPackage,python3-cffi-src))

+ 1
- 17
lang/python/python-chardet/Makefile View File

@ -17,7 +17,6 @@ PKG_HASH:=84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-chardet/Default define Package/python-chardet/Default
@ -28,13 +27,6 @@ define Package/python-chardet/Default
URL:=https://github.com/chardet/chardet URL:=https://github.com/chardet/chardet
endef 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 define Package/python3-chardet
$(call Package/python-chardet/Default) $(call Package/python-chardet/Default)
TITLE:=Universal encoding detector for Python3 TITLE:=Universal encoding detector for Python3
@ -42,12 +34,8 @@ $(call Package/python-chardet/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-chardet/description
Universal encoding detector for Python 2 and 3
endef
define Package/python3-chardet/description define Package/python3-chardet/description
$(call Package/python-chardet/description)
Universal encoding detector for Python 2 and 3
. .
(Variant for Python3) (Variant for Python3)
endef endef
@ -60,10 +48,6 @@ define Py3Package/python3-chardet/install
done done
endef endef
$(eval $(call PyPackage,python-chardet))
$(eval $(call BuildPackage,python-chardet))
$(eval $(call BuildPackage,python-chardet-src))
$(eval $(call Py3Package,python3-chardet)) $(eval $(call Py3Package,python3-chardet))
$(eval $(call BuildPackage,python3-chardet)) $(eval $(call BuildPackage,python3-chardet))
$(eval $(call BuildPackage,python3-chardet-src)) $(eval $(call BuildPackage,python3-chardet-src))

+ 1
- 16
lang/python/python-colorama/Makefile View File

@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-colorama/Default define Package/python-colorama/Default
@ -23,33 +22,19 @@ define Package/python-colorama/Default
URL:=https://github.com/tartley/colorama URL:=https://github.com/tartley/colorama
endef endef
define Package/python-colorama
$(call Package/python-colorama/Default)
DEPENDS:=+PACKAGE_python-colorama:python
VARIANT:=python
endef
define Package/python3-colorama define Package/python3-colorama
$(call Package/python-colorama/Default) $(call Package/python-colorama/Default)
DEPENDS:=+PACKAGE_python3-colorama:python3 DEPENDS:=+PACKAGE_python3-colorama:python3
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-colorama/description
define Package/python3-colorama/description
Makes ANSI escape character sequences Makes ANSI escape character sequences
(for producing colored terminal text and cursor positioning) work under MS Windows. (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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-colorama))
$(eval $(call BuildPackage,python-colorama))
$(eval $(call BuildPackage,python-colorama-src))
$(eval $(call Py3Package,python3-colorama)) $(eval $(call Py3Package,python3-colorama))
$(eval $(call BuildPackage,python3-colorama)) $(eval $(call BuildPackage,python3-colorama))
$(eval $(call BuildPackage,python3-colorama-src)) $(eval $(call BuildPackage,python3-colorama-src))

+ 1
- 16
lang/python/python-constantly/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-constantly/Default define Package/python-constantly/Default
@ -31,34 +30,20 @@ define Package/python-constantly/Default
URL:=https://github.com/twisted/constantly URL:=https://github.com/twisted/constantly
endef endef
define Package/python-constantly
$(call Package/python-constantly/Default)
DEPENDS:=+PACKAGE_python-constantly:python-light
VARIANT:=python
endef
define Package/python3-constantly define Package/python3-constantly
$(call Package/python-constantly/Default) $(call Package/python-constantly/Default)
DEPENDS:=+PACKAGE_python3-constantly:python3-light DEPENDS:=+PACKAGE_python3-constantly:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-constantly/description
define Package/python3-constantly/description
A library that provides symbolic constant support. It includes A library that provides symbolic constant support. It includes
collections and constants with text, numeric, and bit flag values. collections and constants with text, numeric, and bit flag values.
Originally twisted.python.constants from the Twisted project. Originally twisted.python.constants from the Twisted project.
endef
define Package/python3-constantly/description
$(call Package/python-constantly/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-constantly))
$(eval $(call BuildPackage,python-constantly))
$(eval $(call BuildPackage,python-constantly-src))
$(eval $(call Py3Package,python3-constantly)) $(eval $(call Py3Package,python3-constantly))
$(eval $(call BuildPackage,python3-constantly)) $(eval $(call BuildPackage,python3-constantly))
$(eval $(call BuildPackage,python3-constantly-src)) $(eval $(call BuildPackage,python3-constantly-src))

+ 1
- 20
lang/python/python-crypto/Makefile View File

@ -21,13 +21,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-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_ARGS:=
PYTHON3_PKG_SETUP_VARS:= \ PYTHON3_PKG_SETUP_VARS:= \
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)" CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
@ -41,33 +36,19 @@ define Package/python-crypto/Default
DEPENDS:=+libgmp DEPENDS:=+libgmp
endef endef
define Package/python-crypto
$(call Package/python-crypto/Default)
DEPENDS+=+PACKAGE_python-crypto:python
VARIANT:=python
endef
define Package/python3-crypto define Package/python3-crypto
$(call Package/python-crypto/Default) $(call Package/python-crypto/Default)
DEPENDS+=+PACKAGE_python3-crypto:python3 DEPENDS+=+PACKAGE_python3-crypto:python3
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-crypto/description
define Package/python3-crypto/description
A collection of both secure hash functions (such as MD5 and SHA), A collection of both secure hash functions (such as MD5 and SHA),
and various encryption algorithms (AES, DES, IDEA, RSA, ElGamal, etc.). and various encryption algorithms (AES, DES, IDEA, RSA, ElGamal, etc.).
endef
define Package/python3-crypto/description
$(call Package/python-crypto/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-crypto))
$(eval $(call BuildPackage,python-crypto))
$(eval $(call BuildPackage,python-crypto-src))
$(eval $(call Py3Package,python3-crypto)) $(eval $(call Py3Package,python3-crypto))
$(eval $(call BuildPackage,python3-crypto)) $(eval $(call BuildPackage,python3-crypto))
$(eval $(call BuildPackage,python3-crypto-src)) $(eval $(call BuildPackage,python3-crypto-src))

+ 1
- 21
lang/python/python-cryptodome/Makefile View File

@ -18,13 +18,8 @@ PKG_CPE_ID:=cpe:/a:pycryptodome:pycryptodome
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-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_ARGS:=
PYTHON3_PKG_SETUP_VARS:= \ PYTHON3_PKG_SETUP_VARS:= \
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)" CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
@ -38,13 +33,6 @@ define Package/python-cryptodome/Default
DEPENDS:=+libgmp DEPENDS:=+libgmp
endef 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 define Package/python3-cryptodome
$(call Package/python-cryptodome/Default) $(call Package/python-cryptodome/Default)
DEPENDS+=+PACKAGE_python3-cryptodome:python3 DEPENDS+=+PACKAGE_python3-cryptodome:python3
@ -52,21 +40,13 @@ $(call Package/python-cryptodome/Default)
CONFLICTS:=python3-crypto CONFLICTS:=python3-crypto
endef endef
define Package/python-cryptodome/description
define Package/python3-cryptodome/description
PyCryptodome is a self-contained Python package of low-level PyCryptodome is a self-contained Python package of low-level
cryptographic primitives. cryptographic primitives.
endef
define Package/python3-cryptodome/description
$(call Package/python-cryptodome/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-cryptodome))
$(eval $(call BuildPackage,python-cryptodome))
$(eval $(call BuildPackage,python-cryptodome-src))
$(eval $(call Py3Package,python3-cryptodome)) $(eval $(call Py3Package,python3-cryptodome))
$(eval $(call BuildPackage,python3-cryptodome)) $(eval $(call BuildPackage,python3-cryptodome))
$(eval $(call BuildPackage,python3-cryptodome-src)) $(eval $(call BuildPackage,python3-cryptodome-src))

+ 1
- 20
lang/python/python-cryptodomex/Makefile View File

@ -17,13 +17,8 @@ PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-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_ARGS:=
PYTHON3_PKG_SETUP_VARS:= \ PYTHON3_PKG_SETUP_VARS:= \
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)" CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
@ -37,33 +32,19 @@ define Package/python-cryptodomex/Default
DEPENDS:=+libgmp DEPENDS:=+libgmp
endef endef
define Package/python-cryptodomex
$(call Package/python-cryptodomex/Default)
DEPENDS+=+PACKAGE_python-cryptodomex:python
VARIANT:=python
endef
define Package/python3-cryptodomex define Package/python3-cryptodomex
$(call Package/python-cryptodomex/Default) $(call Package/python-cryptodomex/Default)
DEPENDS+=+PACKAGE_python3-cryptodomex:python3 DEPENDS+=+PACKAGE_python3-cryptodomex:python3
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-cryptodomex/description
define Package/python3-cryptodomex/description
PyCryptodome is a self-contained Python package of low-level PyCryptodome is a self-contained Python package of low-level
cryptographic primitives. cryptographic primitives.
endef
define Package/python3-cryptodomex/description
$(call Package/python-cryptodomex/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-cryptodomex))
$(eval $(call BuildPackage,python-cryptodomex))
$(eval $(call BuildPackage,python-cryptodomex-src))
$(eval $(call Py3Package,python3-cryptodomex)) $(eval $(call Py3Package,python3-cryptodomex))
$(eval $(call BuildPackage,python3-cryptodomex)) $(eval $(call BuildPackage,python3-cryptodomex))
$(eval $(call BuildPackage,python3-cryptodomex-src)) $(eval $(call BuildPackage,python3-cryptodomex-src))

+ 1
- 22
lang/python/python-cryptography/Makefile View File

@ -20,12 +20,10 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
PKG_BUILD_DEPENDS:=libffi/host 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" HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.8,!=1.11.3"
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-cryptography/Default define Package/python-cryptography/Default
@ -37,17 +35,6 @@ define Package/python-cryptography/Default
DEPENDS:=+libopenssl DEPENDS:=+libopenssl
endef 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 define Package/python3-cryptography
$(call Package/python-cryptography/Default) $(call Package/python-cryptography/Default)
DEPENDS+= \ DEPENDS+= \
@ -57,22 +44,14 @@ $(call Package/python-cryptography/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-cryptography/description
define Package/python3-cryptography/description
cryptography is a package which provides cryptographic recipes and cryptography is a package which provides cryptographic recipes and
primitives to Python developers. Our goal is for it to be your "cryptographic 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+. 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-cryptography))
$(eval $(call BuildPackage,python-cryptography))
$(eval $(call BuildPackage,python-cryptography-src))
$(eval $(call Py3Package,python3-cryptography)) $(eval $(call Py3Package,python3-cryptography))
$(eval $(call BuildPackage,python3-cryptography)) $(eval $(call BuildPackage,python3-cryptography))
$(eval $(call BuildPackage,python3-cryptography-src)) $(eval $(call BuildPackage,python3-cryptography-src))

+ 1
- 21
lang/python/python-curl/Makefile View File

@ -17,7 +17,6 @@ PKG_LICENSE_FILES:=COPYING-LGPL
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-curl/Default define Package/python-curl/Default
@ -29,16 +28,6 @@ define Package/python-curl/Default
DEPENDS:=+libcurl DEPENDS:=+libcurl
endef 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 define Package/python3-curl
$(call Package/python-curl/Default) $(call Package/python-curl/Default)
DEPENDS+=+PACKAGE_python3-curl:python3 DEPENDS+=+PACKAGE_python3-curl:python3
@ -46,38 +35,29 @@ $(call Package/python-curl/Default)
endef endef
define Package/python3-curl/description 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) (Variant for Python3)
endef endef
PYTHON_PKG_SETUP_ARGS:=
PYTHON3_PKG_SETUP_ARGS:= PYTHON3_PKG_SETUP_ARGS:=
ifdef CONFIG_LIBCURL_OPENSSL ifdef CONFIG_LIBCURL_OPENSSL
PYTHON_PKG_SETUP_ARGS+=--with-openssl
PYTHON3_PKG_SETUP_ARGS+=--with-openssl PYTHON3_PKG_SETUP_ARGS+=--with-openssl
endif endif
ifdef CONFIG_LIBCURL_GNUTLS ifdef CONFIG_LIBCURL_GNUTLS
PYTHON_PKG_SETUP_ARGS+=--with-gnutls
PYTHON3_PKG_SETUP_ARGS+=--with-gnutls PYTHON3_PKG_SETUP_ARGS+=--with-gnutls
endif endif
ifdef CONFIG_LIBCURL_MBEDTLS ifdef CONFIG_LIBCURL_MBEDTLS
PYTHON_PKG_SETUP_ARGS+=--with-mbedtls
PYTHON3_PKG_SETUP_ARGS+=--with-mbedtls PYTHON3_PKG_SETUP_ARGS+=--with-mbedtls
endif endif
ifdef CONFIG_LIBCURL_WOLFSSL ifdef CONFIG_LIBCURL_WOLFSSL
PYTHON_PKG_SETUP_ARGS+=--with-wolfssl
PYTHON3_PKG_SETUP_ARGS+=--with-wolfssl PYTHON3_PKG_SETUP_ARGS+=--with-wolfssl
endif endif
$(eval $(call PyPackage,python-curl))
$(eval $(call BuildPackage,python-curl))
$(eval $(call BuildPackage,python-curl-src))
$(eval $(call Py3Package,python3-curl)) $(eval $(call Py3Package,python3-curl))
$(eval $(call BuildPackage,python3-curl)) $(eval $(call BuildPackage,python3-curl))
$(eval $(call BuildPackage,python3-curl-src)) $(eval $(call BuildPackage,python3-curl-src))

+ 1
- 15
lang/python/python-dateutil/Makefile View File

@ -19,7 +19,6 @@ PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-dateutil/Default define Package/python-dateutil/Default
@ -30,16 +29,6 @@ define Package/python-dateutil/Default
URL:=https://dateutil.readthedocs.org/ URL:=https://dateutil.readthedocs.org/
endef 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 define Package/python3-dateutil
$(call Package/python-dateutil/Default) $(call Package/python-dateutil/Default)
DEPENDS:=+PACKAGE_python3-dateutil:python3 +PACKAGE_python3-dateutil:python3-six DEPENDS:=+PACKAGE_python3-dateutil:python3 +PACKAGE_python3-dateutil:python3-six
@ -47,14 +36,11 @@ $(call Package/python-dateutil/Default)
endef endef
define Package/python3-dateutil/description define Package/python3-dateutil/description
$(call Package/python-dateutil/description)
Extensions to the standard Python datetime module
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-dateutil))
$(eval $(call BuildPackage,python-dateutil))
$(eval $(call BuildPackage,python-dateutil-src))
$(eval $(call Py3Package,python3-dateutil)) $(eval $(call Py3Package,python3-dateutil))
$(eval $(call BuildPackage,python3-dateutil)) $(eval $(call BuildPackage,python3-dateutil))
$(eval $(call BuildPackage,python3-dateutil-src)) $(eval $(call BuildPackage,python3-dateutil-src))

+ 1
- 19
lang/python/python-defusedxml/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-defusedxml/Default define Package/python-defusedxml/Default
@ -29,15 +28,6 @@ define Package/python-defusedxml/Default
URL:=https://github.com/tiran/defusedxml URL:=https://github.com/tiran/defusedxml
endef 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 define Package/python3-defusedxml
$(call Package/python-defusedxml/Default) $(call Package/python-defusedxml/Default)
DEPENDS:= \ DEPENDS:= \
@ -46,21 +36,13 @@ define Package/python3-defusedxml
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-defusedxml/description
define Package/python3-defusedxml/description
The defusedxml package contains several Python-only workarounds and fixes for The defusedxml package contains several Python-only workarounds and fixes for
denial of service and other vulnerabilities in Python’s XML libraries. 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-defusedxml))
$(eval $(call BuildPackage,python-defusedxml))
$(eval $(call BuildPackage,python-defusedxml-src))
$(eval $(call Py3Package,python3-defusedxml)) $(eval $(call Py3Package,python3-defusedxml))
$(eval $(call BuildPackage,python3-defusedxml)) $(eval $(call BuildPackage,python3-defusedxml))
$(eval $(call BuildPackage,python3-defusedxml-src)) $(eval $(call BuildPackage,python3-defusedxml-src))

+ 1
- 15
lang/python/python-dns/Makefile View File

@ -23,7 +23,6 @@ PKG_CPE_ID:=cpe:/a:debian:python-dns
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-dnspython-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-dnspython-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) 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/ URL:=http://www.dnspython.org/
endef 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 define Package/python3-dns
$(call Package/python-dns/Default) $(call Package/python-dns/Default)
DEPENDS:=+PACKAGE_python3-dns:python3 DEPENDS:=+PACKAGE_python3-dns:python3
@ -53,14 +42,11 @@ $(call Package/python-dns/Default)
endef endef
define Package/python3-dns/description 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-dns))
$(eval $(call BuildPackage,python-dns))
$(eval $(call BuildPackage,python-dns-src))
$(eval $(call Py3Package,python3-dns)) $(eval $(call Py3Package,python3-dns))
$(eval $(call BuildPackage,python3-dns)) $(eval $(call BuildPackage,python3-dns))
$(eval $(call BuildPackage,python3-dns-src)) $(eval $(call BuildPackage,python3-dns-src))

+ 1
- 17
lang/python/python-docutils/Makefile View File

@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-docutils/Default define Package/python-docutils/Default
@ -23,37 +22,22 @@ define Package/python-docutils/Default
URL:=http://docutils.sourceforge.net URL:=http://docutils.sourceforge.net
endef endef
define Package/python-docutils
$(call Package/python-docutils/Default)
DEPENDS:=+PACKAGE_python-docutils:python
VARIANT:=python
endef
define Package/python3-docutils define Package/python3-docutils
$(call Package/python-docutils/Default) $(call Package/python-docutils/Default)
DEPENDS:=+PACKAGE_python3-docutils:python3 DEPENDS:=+PACKAGE_python3-docutils:python3
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-docutils/description
define Package/python3-docutils/description
Docutils is a modular system for processing documentation into useful formats, Docutils is a modular system for processing documentation into useful formats,
such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText, 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. 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) (Variant for Python3)
endef endef
PYTHON_PKG_SETUP_ARGS:=
PYTHON3_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 Py3Package,python3-docutils))
$(eval $(call BuildPackage,python3-docutils)) $(eval $(call BuildPackage,python3-docutils))
$(eval $(call BuildPackage,python3-docutils-src)) $(eval $(call BuildPackage,python3-docutils-src))

+ 1
- 18
lang/python/python-et_xmlfile/Makefile View File

@ -17,7 +17,6 @@ PKG_HASH:=614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-et_xmlfile/Default define Package/python-et_xmlfile/Default
@ -28,14 +27,6 @@ define Package/python-et_xmlfile/Default
URL:=https://bitbucket.org/openpyxl/et_xmlfile URL:=https://bitbucket.org/openpyxl/et_xmlfile
endef 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 define Package/python3-et_xmlfile
$(call Package/python-et_xmlfile/Default) $(call Package/python-et_xmlfile/Default)
DEPENDS:= \ DEPENDS:= \
@ -44,22 +35,14 @@ $(call Package/python-et_xmlfile/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-et_xmlfile/description
define Package/python3-et_xmlfile/description
An implementation of lxml.xmlfile for the standard library. An implementation of lxml.xmlfile for the standard library.
It is based upon the xmlfile module from lxml with the aim of It is based upon the xmlfile module from lxml with the aim of
allowing code to be developed that will work with both libraries. 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) (Variant for Python3)
endef 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 Py3Package,python3-et_xmlfile))
$(eval $(call BuildPackage,python3-et_xmlfile)) $(eval $(call BuildPackage,python3-et_xmlfile))
$(eval $(call BuildPackage,python3-et_xmlfile-src)) $(eval $(call BuildPackage,python3-et_xmlfile-src))

+ 1
- 22
lang/python/python-evdev/Makefile View File

@ -20,7 +20,6 @@ PKG_HASH:=b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-evdev/Default define Package/python-evdev/Default
@ -30,15 +29,6 @@ define Package/python-evdev/Default
URL:=https://github.com/gvalkov/python-evdev URL:=https://github.com/gvalkov/python-evdev
endef 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 define Package/python3-evdev
$(call Package/python-evdev/Default) $(call Package/python-evdev/Default)
TITLE:=python3-evdev TITLE:=python3-evdev
@ -48,13 +38,8 @@ $(call Package/python-evdev/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-evdev/description
Bindings to the Linux input handling subsystem
endef
define Package/python3-evdev/description define Package/python3-evdev/description
$(call Package/python-evdev/description)
Bindings to the Linux input handling subsystem
. .
(Variant for Python3) (Variant for Python3)
endef endef
@ -66,12 +51,6 @@ PYTHON3_PKG_SETUP_GLOBAL_ARGS:= \
--evdev-headers="$(LINUX_EVDEV_HEADERS)" \ --evdev-headers="$(LINUX_EVDEV_HEADERS)" \
build_ext 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 Py3Package,python3-evdev))
$(eval $(call BuildPackage,python3-evdev)) $(eval $(call BuildPackage,python3-evdev))
$(eval $(call BuildPackage,python3-evdev-src)) $(eval $(call BuildPackage,python3-evdev-src))

+ 1
- 17
lang/python/python-gmpy2/Makefile View File

@ -21,10 +21,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PYTHON_PKG_SETUP_ARGS:=--nompfr
PYTHON3_PKG_SETUP_ARGS:=--nompfr PYTHON3_PKG_SETUP_ARGS:=--nompfr
define Package/python-gmpy2/Default define Package/python-gmpy2/Default
@ -36,19 +34,13 @@ define Package/python-gmpy2/Default
DEPENDS:=+libgmp DEPENDS:=+libgmp
endef endef
define Package/python-gmpy2
$(call Package/python-gmpy2/Default)
DEPENDS+=+PACKAGE_python-gmpy2:python-light
VARIANT:=python
endef
define Package/python3-gmpy2 define Package/python3-gmpy2
$(call Package/python-gmpy2/Default) $(call Package/python-gmpy2/Default)
DEPENDS+=+PACKAGE_python3-gmpy2:python3-light DEPENDS+=+PACKAGE_python3-gmpy2:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-gmpy2/description
define Package/python3-gmpy2/description
gmpy2 is a C-coded Python extension module that supports multiple-precision 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 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 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 rounded complex floating-point arithmetic) libraries. gmpy2 also updates the
API and naming conventions to be more consistent and support the additional API and naming conventions to be more consistent and support the additional
functionality. functionality.
endef
define Package/python3-gmpy2/description
$(call Package/python-gmpy2/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-gmpy2))
$(eval $(call BuildPackage,python-gmpy2))
$(eval $(call BuildPackage,python-gmpy2-src))
$(eval $(call Py3Package,python3-gmpy2)) $(eval $(call Py3Package,python3-gmpy2))
$(eval $(call BuildPackage,python3-gmpy2)) $(eval $(call BuildPackage,python3-gmpy2))
$(eval $(call BuildPackage,python3-gmpy2-src)) $(eval $(call BuildPackage,python3-gmpy2-src))

+ 1
- 23
lang/python/python-gnupg/Makefile View File

@ -18,7 +18,6 @@ PKG_CPE_ID:=cpe:/a:python-gnupg_project:python-gnupg
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-gnupg/Default define Package/python-gnupg/Default
@ -29,13 +28,6 @@ define Package/python-gnupg/Default
DEPENDS:=+gnupg DEPENDS:=+gnupg
endef 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 define Package/python3-gnupg
$(call Package/python-gnupg/Default) $(call Package/python-gnupg/Default)
TITLE:=python3-gnupg TITLE:=python3-gnupg
@ -43,7 +35,7 @@ $(call Package/python-gnupg/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-gnupg/description
define Package/python3-gnupg/description
A Python wrapper for GnuPG A Python wrapper for GnuPG
This module allows easy access to GnuPG.s key management, encryption 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 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, use on Windows, MacOS X, BSD, or Linux, with Python 2.6, Python 2.7,
Python 3.3, Python 3.4, or PyPy. Python 3.3, Python 3.4, or PyPy.
endef
define Package/python3-gnupg/description
$(call Package/python-gnupg/description)
(Variant for Python3) (Variant for Python3)
endef endef
define PyBuild/Compile
$(call Build/Compile/PyMod,,\
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
)
endef
define Py3Build/Compile define Py3Build/Compile
$(call Build/Compile/Py3Mod,,\ $(call Build/Compile/Py3Mod,,\
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \ install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
) )
endef endef
$(eval $(call PyPackage,python-gnupg))
$(eval $(call BuildPackage,python-gnupg))
$(eval $(call Py3Package,python3-gnupg)) $(eval $(call Py3Package,python3-gnupg))
$(eval $(call BuildPackage,python3-gnupg)) $(eval $(call BuildPackage,python3-gnupg))

+ 1
- 18
lang/python/python-hyperlink/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-hyperlink/Default define Package/python-hyperlink/Default
@ -31,14 +30,6 @@ define Package/python-hyperlink/Default
URL:=https://github.com/python-hyper/hyperlink URL:=https://github.com/python-hyper/hyperlink
endef 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 define Package/python3-hyperlink
$(call Package/python-hyperlink/Default) $(call Package/python-hyperlink/Default)
DEPENDS:= \ DEPENDS:= \
@ -47,22 +38,14 @@ $(call Package/python-hyperlink/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-hyperlink/description
define Package/python3-hyperlink/description
Hyperlink provides a pure-Python implementation of immutable URLs. Based Hyperlink provides a pure-Python implementation of immutable URLs. Based
on RFC 3986 and 3987, the Hyperlink URL makes working with both URIs and on RFC 3986 and 3987, the Hyperlink URL makes working with both URIs and
IRIs easy. IRIs easy.
endef
define Package/python3-hyperlink/description
$(call Package/python-hyperlink/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-hyperlink))
$(eval $(call BuildPackage,python-hyperlink))
$(eval $(call BuildPackage,python-hyperlink-src))
$(eval $(call Py3Package,python3-hyperlink)) $(eval $(call Py3Package,python3-hyperlink))
$(eval $(call BuildPackage,python3-hyperlink)) $(eval $(call BuildPackage,python3-hyperlink))
$(eval $(call BuildPackage,python3-hyperlink-src)) $(eval $(call BuildPackage,python3-hyperlink-src))

+ 1
- 18
lang/python/python-idna/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-idna/Default define Package/python-idna/Default
@ -31,14 +30,6 @@ define Package/python-idna/Default
URL:=https://github.com/kjd/idna URL:=https://github.com/kjd/idna
endef 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 define Package/python3-idna
$(call Package/python-idna/Default) $(call Package/python-idna/Default)
DEPENDS:= \ DEPENDS:= \
@ -47,23 +38,15 @@ $(call Package/python-idna/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-idna/description
define Package/python3-idna/description
A library to support the Internationalised Domain Names in Applications A library to support the Internationalised Domain Names in Applications
(IDNA) protocol as specified in RFC 5891. This version of the protocol (IDNA) protocol as specified in RFC 5891. This version of the protocol
is often referred to as "IDNA2008" and can produce different results is often referred to as "IDNA2008" and can produce different results
from the earlier standard from 2003. from the earlier standard from 2003.
endef
define Package/python3-idna/description
$(call Package/python-idna/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-idna))
$(eval $(call BuildPackage,python-idna))
$(eval $(call BuildPackage,python-idna-src))
$(eval $(call Py3Package,python3-idna)) $(eval $(call Py3Package,python3-idna))
$(eval $(call BuildPackage,python3-idna)) $(eval $(call BuildPackage,python3-idna))
$(eval $(call BuildPackage,python3-idna-src)) $(eval $(call BuildPackage,python3-idna-src))

+ 1
- 16
lang/python/python-incremental/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-incremental/Default define Package/python-incremental/Default
@ -31,32 +30,18 @@ define Package/python-incremental/Default
URL:=https://github.com/twisted/incremental URL:=https://github.com/twisted/incremental
endef endef
define Package/python-incremental
$(call Package/python-incremental/Default)
DEPENDS:=+PACKAGE_python-incremental:python-light
VARIANT:=python
endef
define Package/python3-incremental define Package/python3-incremental
$(call Package/python-incremental/Default) $(call Package/python-incremental/Default)
DEPENDS:=+PACKAGE_python3-incremental:python3-light DEPENDS:=+PACKAGE_python3-incremental:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-incremental/description
Incremental is a small library that versions your Python projects.
endef
define Package/python3-incremental/description define Package/python3-incremental/description
$(call Package/python-incremental/description)
Incremental is a small library that versions your Python projects.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-incremental))
$(eval $(call BuildPackage,python-incremental))
$(eval $(call BuildPackage,python-incremental-src))
$(eval $(call Py3Package,python3-incremental)) $(eval $(call Py3Package,python3-incremental))
$(eval $(call BuildPackage,python3-incremental)) $(eval $(call BuildPackage,python3-incremental))
$(eval $(call BuildPackage,python3-incremental-src)) $(eval $(call BuildPackage,python3-incremental-src))

+ 1
- 16
lang/python/python-jdcal/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-jdcal/Default define Package/python-jdcal/Default
@ -29,32 +28,18 @@ define Package/python-jdcal/Default
URL:=https://github.com/phn/jdcal URL:=https://github.com/phn/jdcal
endef endef
define Package/python-jdcal
$(call Package/python-jdcal/Default)
DEPENDS:= +PACKAGE_python-jdcal:python-light
VARIANT:=python
endef
define Package/python3-jdcal define Package/python3-jdcal
$(call Package/python-jdcal/Default) $(call Package/python-jdcal/Default)
DEPENDS:= +PACKAGE_python3-jdcal:python3-light DEPENDS:= +PACKAGE_python3-jdcal:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-jdcal/description
This module contains functions for converting between Julian dates and calendar dates.
endef
define Package/python3-jdcal/description 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-jdcal))
$(eval $(call BuildPackage,python-jdcal))
$(eval $(call BuildPackage,python-jdcal-src))
$(eval $(call Py3Package,python3-jdcal)) $(eval $(call Py3Package,python3-jdcal))
$(eval $(call BuildPackage,python3-jdcal)) $(eval $(call BuildPackage,python3-jdcal))
$(eval $(call BuildPackage,python3-jdcal-src)) $(eval $(call BuildPackage,python3-jdcal-src))

+ 1
- 16
lang/python/python-jmespath/Makefile View File

@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-jmespath/Default define Package/python-jmespath/Default
@ -23,33 +22,19 @@ define Package/python-jmespath/Default
URL:=https://github.com/jmespath/jmespath.py URL:=https://github.com/jmespath/jmespath.py
endef endef
define Package/python-jmespath
$(call Package/python-jmespath/Default)
DEPENDS:=+PACKAGE_python-jmespath:python
VARIANT:=python
endef
define Package/python3-jmespath define Package/python3-jmespath
$(call Package/python-jmespath/Default) $(call Package/python-jmespath/Default)
DEPENDS:=+PACKAGE_python3-jmespath:python3 DEPENDS:=+PACKAGE_python3-jmespath:python3
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-jmespath/description
define Package/python3-jmespath/description
JMESPath (pronounced “james path”) allows you to declaratively specify how to extract JMESPath (pronounced “james path”) allows you to declaratively specify how to extract
elements from a JSON document. elements from a JSON document.
endef
define Package/python3-jmespath/description
$(call Package/python-jmespath/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-jmespath))
$(eval $(call BuildPackage,python-jmespath))
$(eval $(call BuildPackage,python-jmespath-src))
$(eval $(call Py3Package,python3-jmespath)) $(eval $(call Py3Package,python3-jmespath))
$(eval $(call BuildPackage,python3-jmespath)) $(eval $(call BuildPackage,python3-jmespath))
$(eval $(call BuildPackage,python3-jmespath-src)) $(eval $(call BuildPackage,python3-jmespath-src))

+ 1
- 18
lang/python/python-libmodbus/Makefile View File

@ -13,7 +13,6 @@ PKG_HASH:=80f837304ffa8476145ea643f6b98aa94b205013a96f1e5173d7bdc776426aee
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-libmodbus/Default define Package/python-libmodbus/Default
@ -23,15 +22,6 @@ define Package/python-libmodbus/Default
URL:=https://pypi.org/project/pylibmodbus URL:=https://pypi.org/project/pylibmodbus
endef 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 define Package/python3-libmodbus
$(call Package/python-libmodbus/Default) $(call Package/python-libmodbus/Default)
TITLE:=pylibmodbus TITLE:=pylibmodbus
@ -41,18 +31,11 @@ $(call Package/python-libmodbus/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-libmodbus/description
Python Interface for libmodbus written with CFFI.
endef
define Package/python3-libmodbus/description define Package/python3-libmodbus/description
$(call Package/python-libmodbus/description)
Python Interface for libmodbus written with CFFI.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-libmodbus))
$(eval $(call BuildPackage,python-libmodbus))
$(eval $(call Py3Package,python3-libmodbus)) $(eval $(call Py3Package,python3-libmodbus))
$(eval $(call BuildPackage,python3-libmodbus)) $(eval $(call BuildPackage,python3-libmodbus))

+ 1
- 30
lang/python/python-lxml/Makefile View File

@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:lxml:lxml
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-lxml/Default define Package/python-lxml/Default
@ -32,13 +31,6 @@ define Package/python-lxml/Default
DEPENDS:=+libxml2 +libxslt +libexslt DEPENDS:=+libxml2 +libxslt +libexslt
endef 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 define Package/python3-lxml
$(call Package/python-lxml/Default) $(call Package/python-lxml/Default)
TITLE:=python3-lxml TITLE:=python3-lxml
@ -46,32 +38,15 @@ $(call Package/python-lxml/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-lxml/description
define Package/python3-lxml/description
The lxml XML toolkit is a Pythonic binding The lxml XML toolkit is a Pythonic binding
for the C libraries libxml2 and libxslt. for the C libraries libxml2 and libxslt.
endef
define Package/python3-lxml/description
$(call Package/python-lxml/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
TARGET_LDFLAGS += -lxml2 -lxslt -lexslt 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 define Py3Build/Compile
$(call Build/Compile/Py3Mod,, \ $(call Build/Compile/Py3Mod,, \
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \ install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
@ -85,10 +60,6 @@ define Py3Build/Compile
) )
endef endef
$(eval $(call PyPackage,python-lxml))
$(eval $(call BuildPackage,python-lxml))
$(eval $(call BuildPackage,python-lxml-src))
$(eval $(call Py3Package,python3-lxml)) $(eval $(call Py3Package,python3-lxml))
$(eval $(call BuildPackage,python3-lxml)) $(eval $(call BuildPackage,python3-lxml))
$(eval $(call BuildPackage,python3-lxml-src)) $(eval $(call BuildPackage,python3-lxml-src))

+ 1
- 17
lang/python/python-mysqlclient/Makefile View File

@ -18,7 +18,6 @@ PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
# python-mysqlclient needs iconv # python-mysqlclient needs iconv
include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/nls.mk
@ -30,13 +29,6 @@ define Package/python-mysqlclient/Default
URL:=https://mysqlclient.readthedocs.io/ URL:=https://mysqlclient.readthedocs.io/
endef 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 define Package/python3-mysqlclient
$(call Package/python-mysqlclient/Default) $(call Package/python-mysqlclient/Default)
TITLE:=MySQL database adapter for Python3 TITLE:=MySQL database adapter for Python3
@ -44,21 +36,13 @@ define Package/python3-mysqlclient
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-mysqlclient/description
define Package/python3-mysqlclient/description
MySQLdb is an thread-compatible interface to the popular MySQL database MySQLdb is an thread-compatible interface to the popular MySQL database
server that provides the Python database API. server that provides the Python database API.
endef
define Package/python3-mysqlclient/description
$(call Package/python-mysqlclient/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-mysqlclient))
$(eval $(call BuildPackage,python-mysqlclient))
$(eval $(call BuildPackage,python-mysqlclient-src))
$(eval $(call Py3Package,python3-mysqlclient)) $(eval $(call Py3Package,python3-mysqlclient))
$(eval $(call BuildPackage,python3-mysqlclient)) $(eval $(call BuildPackage,python3-mysqlclient))
$(eval $(call BuildPackage,python3-mysqlclient-src)) $(eval $(call BuildPackage,python3-mysqlclient-src))

+ 1
- 16
lang/python/python-oauthlib/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-oauthlib/Default define Package/python-oauthlib/Default
@ -29,33 +28,19 @@ define Package/python-oauthlib/Default
URL:=https://github.com/oauthlib/oauthlib URL:=https://github.com/oauthlib/oauthlib
endef endef
define Package/python-oauthlib
$(call Package/python-oauthlib/Default)
DEPENDS:=+PACKAGE_python-oauthlib:python-light
VARIANT:=python
endef
define Package/python3-oauthlib define Package/python3-oauthlib
$(call Package/python-oauthlib/Default) $(call Package/python-oauthlib/Default)
DEPENDS:=+PACKAGE_python3-oauthlib:python3-light DEPENDS:=+PACKAGE_python3-oauthlib:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-oauthlib/description
define Package/python3-oauthlib/description
A generic, spec-compliant, thorough implementation of the OAuth request-signing A generic, spec-compliant, thorough implementation of the OAuth request-signing
logic for Python logic for Python
endef
define Package/python3-oauthlib/description
$(call Package/python-oauthlib/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-oauthlib))
$(eval $(call BuildPackage,python-oauthlib))
$(eval $(call BuildPackage,python-oauthlib-src))
$(eval $(call Py3Package,python3-oauthlib)) $(eval $(call Py3Package,python3-oauthlib))
$(eval $(call BuildPackage,python3-oauthlib)) $(eval $(call BuildPackage,python3-oauthlib))
$(eval $(call BuildPackage,python3-oauthlib-src)) $(eval $(call BuildPackage,python3-oauthlib-src))

+ 1
- 17
lang/python/python-parsley/Makefile View File

@ -20,10 +20,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PYTHON_PKG_SETUP_ARGS:=
PYTHON3_PKG_SETUP_ARGS:= PYTHON3_PKG_SETUP_ARGS:=
define Package/python-parsley/Default define Package/python-parsley/Default
@ -34,32 +32,18 @@ define Package/python-parsley/Default
URL:=http://launchpad.net/parsley URL:=http://launchpad.net/parsley
endef endef
define Package/python-parsley
$(call Package/python-parsley/Default)
DEPENDS:=+PACKAGE_python-parsley:python-light
VARIANT:=python
endef
define Package/python3-parsley define Package/python3-parsley
$(call Package/python-parsley/Default) $(call Package/python-parsley/Default)
DEPENDS:=+PACKAGE_python3-parsley:python3-light DEPENDS:=+PACKAGE_python3-parsley:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-parsley/description
Parsing and pattern matching made easy.
endef
define Package/python3-parsley/description define Package/python3-parsley/description
$(call Package/python-parsley/description)
Parsing and pattern matching made easy.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-parsley))
$(eval $(call BuildPackage,python-parsley))
$(eval $(call BuildPackage,python-parsley-src))
$(eval $(call Py3Package,python3-parsley)) $(eval $(call Py3Package,python3-parsley))
$(eval $(call BuildPackage,python3-parsley)) $(eval $(call BuildPackage,python3-parsley))
$(eval $(call BuildPackage,python3-parsley-src)) $(eval $(call BuildPackage,python3-parsley-src))

+ 1
- 16
lang/python/python-ply/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-ply/Default define Package/python-ply/Default
@ -31,33 +30,19 @@ define Package/python-ply/Default
URL:=http://www.dabeaz.com/ply/ URL:=http://www.dabeaz.com/ply/
endef endef
define Package/python-ply
$(call Package/python-ply/Default)
DEPENDS:=+PACKAGE_python-ply:python-light
VARIANT:=python
endef
define Package/python3-ply define Package/python3-ply
$(call Package/python-ply/Default) $(call Package/python-ply/Default)
DEPENDS:=+PACKAGE_python3-ply:python3-light DEPENDS:=+PACKAGE_python3-ply:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-ply/description
define Package/python3-ply/description
PLY is a 100% Python implementation of the common parsing tools lex PLY is a 100% Python implementation of the common parsing tools lex
and yacc. and yacc.
endef
define Package/python3-ply/description
$(call Package/python-ply/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-ply))
$(eval $(call BuildPackage,python-ply))
$(eval $(call BuildPackage,python-ply-src))
$(eval $(call Py3Package,python3-ply)) $(eval $(call Py3Package,python3-ply))
$(eval $(call BuildPackage,python3-ply)) $(eval $(call BuildPackage,python3-ply))
$(eval $(call BuildPackage,python3-ply-src)) $(eval $(call BuildPackage,python3-ply-src))

+ 1
- 18
lang/python/python-pyasn1-modules/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pyasn1-modules/Default define Package/python-pyasn1-modules/Default
@ -31,14 +30,6 @@ define Package/python-pyasn1-modules/Default
URL:=https://github.com/etingof/pyasn1-modules URL:=https://github.com/etingof/pyasn1-modules
endef 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 define Package/python3-pyasn1-modules
$(call Package/python-pyasn1-modules/Default) $(call Package/python-pyasn1-modules/Default)
DEPENDS:= \ DEPENDS:= \
@ -47,21 +38,13 @@ $(call Package/python-pyasn1-modules/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 This is a small but growing collection of ASN.1 data structures
expressed in Python terms using pyasn1 data model. expressed in Python terms using pyasn1 data model.
endef
define Package/python3-pyasn1-modules/description
$(call Package/python-pyasn1-modules/description)
. .
(Variant for Python3). (Variant for Python3).
endef 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 Py3Package,python3-pyasn1-modules))
$(eval $(call BuildPackage,python3-pyasn1-modules)) $(eval $(call BuildPackage,python3-pyasn1-modules))
$(eval $(call BuildPackage,python3-pyasn1-modules-src)) $(eval $(call BuildPackage,python3-pyasn1-modules-src))

+ 1
- 16
lang/python/python-pyasn1/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleana
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pyasn1/Default define Package/python-pyasn1/Default
@ -31,35 +30,21 @@ define Package/python-pyasn1/Default
URL:=https://github.com/etingof/pyasn1 URL:=https://github.com/etingof/pyasn1
endef endef
define Package/python-pyasn1
$(call Package/python-pyasn1/Default)
DEPENDS:=+PACKAGE_python-pyasn1:python-light
VARIANT:=python
endef
define Package/python3-pyasn1 define Package/python3-pyasn1
$(call Package/python-pyasn1/Default) $(call Package/python-pyasn1/Default)
DEPENDS:=+PACKAGE_python3-pyasn1:python3-light DEPENDS:=+PACKAGE_python3-pyasn1:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-pyasn1/description
define Package/python3-pyasn1/description
This is an implementation of ASN.1 types and codecs in Python programming This is an implementation of ASN.1 types and codecs in Python programming
language. It has been first written to support particular protocol (SNMP) language. It has been first written to support particular protocol (SNMP)
but then generalized to be suitable for a wide range of protocols but then generalized to be suitable for a wide range of protocols
based on ASN.1 specification. based on ASN.1 specification.
endef
define Package/python3-pyasn1/description
$(call Package/python-pyasn1/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-pyasn1))
$(eval $(call BuildPackage,python-pyasn1))
$(eval $(call BuildPackage,python-pyasn1-src))
$(eval $(call Py3Package,python3-pyasn1)) $(eval $(call Py3Package,python3-pyasn1))
$(eval $(call BuildPackage,python3-pyasn1)) $(eval $(call BuildPackage,python3-pyasn1))
$(eval $(call BuildPackage,python3-pyasn1-src)) $(eval $(call BuildPackage,python3-pyasn1-src))

+ 1
- 19
lang/python/python-pycparser/Makefile View File

@ -18,12 +18,10 @@ PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="ply==3.10"
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="ply==3.10" HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="ply==3.10"
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pycparser/Default define Package/python-pycparser/Default
@ -34,14 +32,6 @@ define Package/python-pycparser/Default
URL:=https://github.com/eliben/pycparser URL:=https://github.com/eliben/pycparser
endef 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 define Package/python3-pycparser
$(call Package/python-pycparser/Default) $(call Package/python-pycparser/Default)
DEPENDS:= \ DEPENDS:= \
@ -50,22 +40,14 @@ $(call Package/python-pycparser/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 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 module designed to be easily integrated into applications that need to parse
C source code. C source code.
endef
define Package/python3-pycparser/description
$(call Package/python-pycparser/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-pycparser))
$(eval $(call BuildPackage,python-pycparser))
$(eval $(call BuildPackage,python-pycparser-src))
$(eval $(call Py3Package,python3-pycparser)) $(eval $(call Py3Package,python3-pycparser))
$(eval $(call BuildPackage,python3-pycparser)) $(eval $(call BuildPackage,python3-pycparser))
$(eval $(call BuildPackage,python3-pycparser-src)) $(eval $(call BuildPackage,python3-pycparser-src))

+ 1
- 19
lang/python/python-pyopenssl/Makefile View File

@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:pyopenssl_project:pyopenssl
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pyopenssl/Default define Package/python-pyopenssl/Default
@ -32,15 +31,6 @@ define Package/python-pyopenssl/Default
URL:=https://pyopenssl.org/ URL:=https://pyopenssl.org/
endef 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 define Package/python3-pyopenssl
$(call Package/python-pyopenssl/Default) $(call Package/python-pyopenssl/Default)
DEPENDS:= \ DEPENDS:= \
@ -50,20 +40,12 @@ $(call Package/python-pyopenssl/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-pyopenssl/description
Python wrapper module around the OpenSSL library
endef
define Package/python3-pyopenssl/description define Package/python3-pyopenssl/description
$(call Package/python-pyopenssl/description)
Python wrapper module around the OpenSSL library
. .
(Variant for Python3). (Variant for Python3).
endef endef
$(eval $(call PyPackage,python-pyopenssl))
$(eval $(call BuildPackage,python-pyopenssl))
$(eval $(call BuildPackage,python-pyopenssl-src))
$(eval $(call Py3Package,python3-pyopenssl)) $(eval $(call Py3Package,python3-pyopenssl))
$(eval $(call BuildPackage,python3-pyopenssl)) $(eval $(call BuildPackage,python3-pyopenssl))
$(eval $(call BuildPackage,python3-pyopenssl-src)) $(eval $(call BuildPackage,python3-pyopenssl-src))

+ 1
- 17
lang/python/python-pyserial/Makefile View File

@ -19,7 +19,6 @@ PKG_MAINTAINER:=Micke Prag <micke.prag@telldus.se>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pyserial/Default define Package/python-pyserial/Default
@ -29,13 +28,6 @@ define Package/python-pyserial/Default
URL:=https://github.com/pyserial/pyserial URL:=https://github.com/pyserial/pyserial
endef 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 define Package/python3-pyserial
$(call Package/python-pyserial/Default) $(call Package/python-pyserial/Default)
TITLE:=python3-pyserial TITLE:=python3-pyserial
@ -43,23 +35,15 @@ $(call Package/python-pyserial/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-pyserial/description
define Package/python3-pyserial/description
This module encapsulates the access for the serial port. It provides backends This module encapsulates the access for the serial port. It provides backends
for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant
system) and IronPython. The module named "serial" automatically selects the system) and IronPython. The module named "serial" automatically selects the
appropriate backend. appropriate backend.
endef
define Package/python3-pyserial/description
$(call Package/python-pyserial/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-pyserial))
$(eval $(call BuildPackage,python-pyserial))
$(eval $(call BuildPackage,python-pyserial-src))
$(eval $(call Py3Package,python3-pyserial)) $(eval $(call Py3Package,python3-pyserial))
$(eval $(call BuildPackage,python3-pyserial)) $(eval $(call BuildPackage,python3-pyserial))
$(eval $(call BuildPackage,python3-pyserial-src)) $(eval $(call BuildPackage,python3-pyserial-src))

+ 1
- 17
lang/python/python-pytz/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE.txt
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-pytz/Default define Package/python-pytz/Default
@ -30,13 +29,6 @@ define Package/python-pytz/Default
URL:=https://pythonhosted.org/pytz/ URL:=https://pythonhosted.org/pytz/
endef 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 define Package/python3-pytz
$(call Package/python-pytz/Default) $(call Package/python-pytz/Default)
TITLE:=World timezone definitions, modern and historical for Python3 TITLE:=World timezone definitions, modern and historical for Python3
@ -44,20 +36,12 @@ $(call Package/python-pytz/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-pytz/description
World timezone definitions, modern and historical
endef
define Package/python3-pytz/description define Package/python3-pytz/description
$(call Package/python-pytz/description)
World timezone definitions, modern and historical
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-pytz))
$(eval $(call BuildPackage,python-pytz))
$(eval $(call BuildPackage,python-pytz-src))
$(eval $(call Py3Package,python3-pytz)) $(eval $(call Py3Package,python3-pytz))
$(eval $(call BuildPackage,python3-pytz)) $(eval $(call BuildPackage,python3-pytz))
$(eval $(call BuildPackage,python3-pytz-src)) $(eval $(call BuildPackage,python3-pytz-src))

+ 1
- 20
lang/python/python-qrcode/Makefile View File

@ -18,7 +18,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-qrcode/Default define Package/python-qrcode/Default
@ -29,20 +28,6 @@ define Package/python-qrcode/Default
URL:=https://github.com/lincolnloop/python-qrcode URL:=https://github.com/lincolnloop/python-qrcode
endef 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 define Package/python3-qrcode
$(call Package/python-qrcode/Default) $(call Package/python-qrcode/Default)
DEPENDS:= \ DEPENDS:= \
@ -54,15 +39,11 @@ $(call Package/python-qrcode/Default)
endef endef
define Package/python3-qrcode/description define Package/python3-qrcode/description
$(call Package/python-qrcode/description)
Pure python QR Code generator
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-qrcode))
$(eval $(call BuildPackage,python-qrcode))
$(eval $(call BuildPackage,python-qrcode-src))
$(eval $(call Py3Package,python3-qrcode)) $(eval $(call Py3Package,python3-qrcode))
$(eval $(call BuildPackage,python3-qrcode)) $(eval $(call BuildPackage,python3-qrcode))
$(eval $(call BuildPackage,python3-qrcode-src)) $(eval $(call BuildPackage,python3-qrcode-src))

+ 1
- 18
lang/python/python-rcssmin/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-rcssmin/Default define Package/python-rcssmin/Default
@ -29,14 +28,6 @@ define Package/python-rcssmin/Default
URL:=http://opensource.perlig.de/rcssmin/ URL:=http://opensource.perlig.de/rcssmin/
endef 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 define Package/python3-rcssmin
$(call Package/python-rcssmin/Default) $(call Package/python-rcssmin/Default)
DEPENDS:= \ DEPENDS:= \
@ -44,24 +35,16 @@ define Package/python3-rcssmin
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-rcssmin/description
define Package/python3-rcssmin/description
This module is a re-implementation aiming for speed instead of maximum compression, 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). so it can be used at runtime (rather than during a preprocessing step).
RCSSmin does syntactical compression only (removing spaces, comments and possibly RCSSmin does syntactical compression only (removing spaces, comments and possibly
semicolons). It does not provide semantic compression (like removing empty blocks, semicolons). It does not provide semantic compression (like removing empty blocks,
collapsing redundant properties etc). collapsing redundant properties etc).
endef
define Package/python3-rcssmin/description
$(call Package/python-rcssmin/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-rcssmin))
$(eval $(call BuildPackage,python-rcssmin))
$(eval $(call BuildPackage,python-rcssmin-src))
$(eval $(call Py3Package,python3-rcssmin)) $(eval $(call Py3Package,python3-rcssmin))
$(eval $(call BuildPackage,python3-rcssmin)) $(eval $(call BuildPackage,python3-rcssmin))
$(eval $(call BuildPackage,python3-rcssmin-src)) $(eval $(call BuildPackage,python3-rcssmin-src))

+ 1
- 19
lang/python/python-requests-oauthlib/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-requests-oauthlib/Default define Package/python-requests-oauthlib/Default
@ -29,15 +28,6 @@ define Package/python-requests-oauthlib/Default
URL:=https://github.com/requests/requests-oauthlib URL:=https://github.com/requests/requests-oauthlib
endef 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 define Package/python3-requests-oauthlib
$(call Package/python-requests-oauthlib/Default) $(call Package/python-requests-oauthlib/Default)
DEPENDS:= \ DEPENDS:= \
@ -47,21 +37,13 @@ define Package/python3-requests-oauthlib
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-requests-oauthlib/description
define Package/python3-requests-oauthlib/description
This python package provides first-class OAuth library support This python package provides first-class OAuth library support
for Requests. for Requests.
endef
define Package/python3-requests-oauthlib/description
$(call Package/python-requests-oauthlib/description)
. .
(Variant for Python3) (Variant for Python3)
endef 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 Py3Package,python3-requests-oauthlib))
$(eval $(call BuildPackage,python3-requests-oauthlib)) $(eval $(call BuildPackage,python3-requests-oauthlib))
$(eval $(call BuildPackage,python3-requests-oauthlib-src)) $(eval $(call BuildPackage,python3-requests-oauthlib-src))

+ 1
- 21
lang/python/python-requests/Makefile View File

@ -21,7 +21,6 @@ PKG_HASH:=b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-requests/Default define Package/python-requests/Default
@ -32,17 +31,6 @@ define Package/python-requests/Default
URL:=https://2.python-requests.org/ URL:=https://2.python-requests.org/
endef 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 define Package/python3-requests
$(call Package/python-requests/Default) $(call Package/python-requests/Default)
DEPENDS:= \ DEPENDS:= \
@ -54,20 +42,12 @@ $(call Package/python-requests/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-requests))
$(eval $(call BuildPackage,python-requests))
$(eval $(call BuildPackage,python-requests-src))
$(eval $(call Py3Package,python3-requests)) $(eval $(call Py3Package,python3-requests))
$(eval $(call BuildPackage,python3-requests)) $(eval $(call BuildPackage,python3-requests))
$(eval $(call BuildPackage,python3-requests-src)) $(eval $(call BuildPackage,python3-requests-src))

+ 1
- 16
lang/python/python-rsa/Makefile View File

@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-rsa/Default define Package/python-rsa/Default
@ -23,34 +22,20 @@ define Package/python-rsa/Default
URL:=https://stuvel.eu/rsa URL:=https://stuvel.eu/rsa
endef 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 define Package/python3-rsa
$(call Package/python-rsa/Default) $(call Package/python-rsa/Default)
DEPENDS:=+PACKAGE_python3-rsa:python3 +PACKAGE_python3-rsa:python3-pyasn1 DEPENDS:=+PACKAGE_python3-rsa:python3 +PACKAGE_python3-rsa:python3-pyasn1
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-rsa/description
define Package/python3-rsa/description
Is a pure-Python RSA implementation. It supports encryption and decryption, 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. 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. 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-rsa))
$(eval $(call BuildPackage,python-rsa))
$(eval $(call BuildPackage,python-rsa-src))
$(eval $(call Py3Package,python3-rsa)) $(eval $(call Py3Package,python3-rsa))
$(eval $(call BuildPackage,python3-rsa)) $(eval $(call BuildPackage,python3-rsa))
$(eval $(call BuildPackage,python3-rsa-src)) $(eval $(call BuildPackage,python3-rsa-src))

+ 1
- 19
lang/python/python-s3transfer/Makefile View File

@ -12,7 +12,6 @@ PKG_LICENSE:=MIT
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-s3transfer/Default define Package/python-s3transfer/Default
@ -23,15 +22,6 @@ define Package/python-s3transfer/Default
URL:=https://github.com/boto/s3transfer URL:=https://github.com/boto/s3transfer
endef 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 define Package/python3-s3transfer
$(call Package/python-s3transfer/Default) $(call Package/python-s3transfer/Default)
DEPENDS:= \ DEPENDS:= \
@ -40,20 +30,12 @@ $(call Package/python-s3transfer/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-s3transfer/description
S3transfer is a Python library for managing Amazon S3 transfers.
endef
define Package/python3-s3transfer/description define Package/python3-s3transfer/description
$(call Package/python-s3transfer/description)
S3transfer is a Python library for managing Amazon S3 transfers.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-s3transfer))
$(eval $(call BuildPackage,python-s3transfer))
$(eval $(call BuildPackage,python-s3transfer-src))
$(eval $(call Py3Package,python3-s3transfer)) $(eval $(call Py3Package,python3-s3transfer))
$(eval $(call BuildPackage,python3-s3transfer)) $(eval $(call BuildPackage,python3-s3transfer))
$(eval $(call BuildPackage,python3-s3transfer-src)) $(eval $(call BuildPackage,python3-s3transfer-src))

+ 1
- 22
lang/python/python-service-identity/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-service-identity/Default define Package/python-service-identity/Default
@ -31,18 +30,6 @@ define Package/python-service-identity/Default
URL:=https://service-identity.readthedocs.io/ URL:=https://service-identity.readthedocs.io/
endef 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 define Package/python3-service-identity
$(call Package/python-service-identity/Default) $(call Package/python-service-identity/Default)
DEPENDS:= \ DEPENDS:= \
@ -54,21 +41,13 @@ $(call Package/python-service-identity/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 service_identity aspires to give you all the tools you need for
verifying whether a certificate is valid for the intended purposes. 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) (Variant for Python3)
endef 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 Py3Package,python3-service-identity))
$(eval $(call BuildPackage,python3-service-identity)) $(eval $(call BuildPackage,python3-service-identity))
$(eval $(call BuildPackage,python3-service-identity-src)) $(eval $(call BuildPackage,python3-service-identity-src))

+ 1
- 22
lang/python/python-simplejson/Makefile View File

@ -18,7 +18,6 @@ PKG_HASH:=2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-simplejson/Default define Package/python-simplejson/Default
@ -29,13 +28,6 @@ define Package/python-simplejson/Default
URL:=https://simplejson.readthedocs.org/ URL:=https://simplejson.readthedocs.org/
endef 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 define Package/python3-simplejson
$(call Package/python-simplejson/Default) $(call Package/python-simplejson/Default)
TITLE:=Simple, fast, extensible JSON encoder/decoder for Python3 TITLE:=Simple, fast, extensible JSON encoder/decoder for Python3
@ -43,30 +35,17 @@ $(call Package/python-simplejson/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-simplejson/description
Simple, fast, extensible JSON encoder/decoder for Python
endef
define Package/python3-simplejson/description define Package/python3-simplejson/description
$(call Package/python-simplejson/description)
Simple, fast, extensible JSON encoder/decoder for Python
. .
(Variant for Python3) (Variant for Python3)
endef endef
define PyPackage/python-simplejson/filespec
+|$(PYTHON_PKG_DIR)
-|$(PYTHON_PKG_DIR)/simplejson/tests
endef
define Py3Package/python3-simplejson/filespec define Py3Package/python3-simplejson/filespec
+|$(PYTHON3_PKG_DIR) +|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/simplejson/tests -|$(PYTHON3_PKG_DIR)/simplejson/tests
endef endef
$(eval $(call PyPackage,python-simplejson))
$(eval $(call BuildPackage,python-simplejson))
$(eval $(call BuildPackage,python-simplejson-src))
$(eval $(call Py3Package,python3-simplejson)) $(eval $(call Py3Package,python3-simplejson))
$(eval $(call BuildPackage,python3-simplejson)) $(eval $(call BuildPackage,python3-simplejson))
$(eval $(call BuildPackage,python3-simplejson-src)) $(eval $(call BuildPackage,python3-simplejson-src))

+ 1
- 16
lang/python/python-six/Makefile View File

@ -23,7 +23,6 @@ HOST_BUILD_DEPENDS:=python3/host
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-six/Default define Package/python-six/Default
@ -34,27 +33,17 @@ define Package/python-six/Default
URL:=https://github.com/benjaminp/six URL:=https://github.com/benjaminp/six
endef endef
define Package/python-six
$(call Package/python-six/Default)
DEPENDS:=+PACKAGE_python-six:python-light
VARIANT:=python
endef
define Package/python3-six define Package/python3-six
$(call Package/python-six/Default) $(call Package/python-six/Default)
DEPENDS:=+PACKAGE_python3-six:python3-light DEPENDS:=+PACKAGE_python3-six:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-six/description
define Package/python3-six/description
Six is a Python 2 and 3 compatibility library. It provides utility functions 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 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 writing Python code that is compatible on both Python versions. See the
documentation for more information on what is provided. documentation for more information on what is provided.
endef
define Package/python3-six/description
$(call Package/python-six/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
@ -67,10 +56,6 @@ Host/Install:=
$(eval $(call HostBuild)) $(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 Py3Package,python3-six))
$(eval $(call BuildPackage,python3-six)) $(eval $(call BuildPackage,python3-six))
$(eval $(call BuildPackage,python3-six-src)) $(eval $(call BuildPackage,python3-six-src))

+ 1
- 29
lang/python/python-twisted/Makefile View File

@ -24,7 +24,6 @@ PKG_CPE_ID:=cpe:/a:twistedmatrix:twisted
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-twisted/Default define Package/python-twisted/Default
@ -35,20 +34,6 @@ define Package/python-twisted/Default
URL:=https://twistedmatrix.com/ URL:=https://twistedmatrix.com/
endef 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 define Package/python3-twisted
$(call Package/python-twisted/Default) $(call Package/python-twisted/Default)
DEPENDS:= \ DEPENDS:= \
@ -63,23 +48,14 @@ $(call Package/python-twisted/Default)
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-twisted/description
define Package/python3-twisted/description
Twisted is a networking engine written in Python, supporting numerous Twisted is a networking engine written in Python, supporting numerous
protocols. It contains a web server, numerous chat clients, chat servers, protocols. It contains a web server, numerous chat clients, chat servers,
mail servers, and more. mail servers, and more.
endef
define Package/python3-twisted/description
$(call Package/python-twisted/description)
. .
(Variant for Python3) (Variant for Python3)
endef endef
define PyPackage/python-twisted/filespec
+|$(PYTHON_PKG_DIR)
-|$(PYTHON_PKG_DIR)/twisted/conch/scripts/tkconch.py
endef
define Py3Package/python3-twisted/filespec define Py3Package/python3-twisted/filespec
+|$(PYTHON3_PKG_DIR) +|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/twisted/conch/scripts/tkconch.py -|$(PYTHON3_PKG_DIR)/twisted/conch/scripts/tkconch.py
@ -93,10 +69,6 @@ define Py3Package/python3-twisted/install
done done
endef endef
$(eval $(call PyPackage,python-twisted))
$(eval $(call BuildPackage,python-twisted))
$(eval $(call BuildPackage,python-twisted-src))
$(eval $(call Py3Package,python3-twisted)) $(eval $(call Py3Package,python3-twisted))
$(eval $(call BuildPackage,python3-twisted)) $(eval $(call BuildPackage,python3-twisted))
$(eval $(call BuildPackage,python3-twisted-src)) $(eval $(call BuildPackage,python3-twisted-src))

+ 1
- 16
lang/python/python-urllib3/Makefile View File

@ -21,7 +21,6 @@ PKG_HASH:=f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-urllib3/Default define Package/python-urllib3/Default
@ -32,16 +31,6 @@ define Package/python-urllib3/Default
URL:=https://urllib3.readthedocs.io/ URL:=https://urllib3.readthedocs.io/
endef 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 define Package/python3-urllib3
$(call Package/python-urllib3/Default) $(call Package/python-urllib3/Default)
DEPENDS:=+PACKAGE_python3-urllib3:python3 DEPENDS:=+PACKAGE_python3-urllib3:python3
@ -49,15 +38,11 @@ $(call Package/python-urllib3/Default)
endef endef
define Package/python3-urllib3/description define Package/python3-urllib3/description
$(call Package/python-urllib3/description)
HTTP library with thread-safe connection pooling, file post, and more.
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-urllib3))
$(eval $(call BuildPackage,python-urllib3))
$(eval $(call BuildPackage,python-urllib3-src))
$(eval $(call Py3Package,python3-urllib3)) $(eval $(call Py3Package,python3-urllib3))
$(eval $(call BuildPackage,python3-urllib3)) $(eval $(call BuildPackage,python3-urllib3))
$(eval $(call BuildPackage,python3-urllib3-src)) $(eval $(call BuildPackage,python3-urllib3-src))

+ 1
- 17
lang/python/python-voluptuous/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-voluptuous/Default define Package/python-voluptuous/Default
@ -31,13 +30,6 @@ define Package/python-voluptuous/Default
URL:=https://github.com/alecthomas/voluptuous URL:=https://github.com/alecthomas/voluptuous
endef endef
define Package/python-voluptuous
$(call Package/python-voluptuous/Default)
DEPENDS:= \
+PACKAGE_python-voluptuous:python-light
VARIANT:=python
endef
define Package/python3-voluptuous define Package/python3-voluptuous
$(call Package/python-voluptuous/Default) $(call Package/python-voluptuous/Default)
DEPENDS:= \ DEPENDS:= \
@ -45,20 +37,12 @@ $(call Package/python-voluptuous/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 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) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-voluptuous))
$(eval $(call BuildPackage,python-voluptuous))
$(eval $(call BuildPackage,python-voluptuous-src))
$(eval $(call Py3Package,python3-voluptuous)) $(eval $(call Py3Package,python3-voluptuous))
$(eval $(call BuildPackage,python3-voluptuous)) $(eval $(call BuildPackage,python3-voluptuous))
$(eval $(call BuildPackage,python3-voluptuous-src)) $(eval $(call BuildPackage,python3-voluptuous-src))

+ 1
- 20
lang/python/python-yaml/Makefile View File

@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:pyyaml_project:pyyaml
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-yaml/Default define Package/python-yaml/Default
@ -33,39 +32,21 @@ define Package/python-yaml/Default
DEPENDS:=+libyaml DEPENDS:=+libyaml
endef 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 define Package/python3-yaml
$(call Package/python-yaml/Default) $(call Package/python-yaml/Default)
DEPENDS+=+PACKAGE_python3-yaml:python3-light DEPENDS+=+PACKAGE_python3-yaml:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-yaml/description
PyYAML is a YAML parser and emitter for the Python programming language.
endef
define Package/python3-yaml/description 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) (Variant for Python3)
endef endef
PYTHON_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml
PYTHON_PKG_SETUP_ARGS:=
PYTHON3_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml PYTHON3_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml
PYTHON3_PKG_SETUP_ARGS:= 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 Py3Package,python3-yaml))
$(eval $(call BuildPackage,python3-yaml)) $(eval $(call BuildPackage,python3-yaml))
$(eval $(call BuildPackage,python3-yaml-src)) $(eval $(call BuildPackage,python3-yaml-src))

+ 1
- 16
lang/python/python-zope-interface/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-zope-interface/Default define Package/python-zope-interface/Default
@ -31,35 +30,21 @@ define Package/python-zope-interface/Default
URL:=https://github.com/zopefoundation/zope.interface URL:=https://github.com/zopefoundation/zope.interface
endef 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 define Package/python3-zope-interface
$(call Package/python-zope-interface/Default) $(call Package/python-zope-interface/Default)
DEPENDS:=+PACKAGE_python3-zope-interface:python3-light DEPENDS:=+PACKAGE_python3-zope-interface:python3-light
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-zope-interface/description
define Package/python3-zope-interface/description
This package provides an implementation of "object interfaces" for This package provides an implementation of "object interfaces" for
Python. Interfaces are a mechanism for labeling objects as conforming to Python. Interfaces are a mechanism for labeling objects as conforming to
a given API or contract. So, this package can be considered as a given API or contract. So, this package can be considered as
implementation of the Design By Contract methodology support in Python. 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) (Variant for Python3)
endef 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 Py3Package,python3-zope-interface))
$(eval $(call BuildPackage,python3-zope-interface)) $(eval $(call BuildPackage,python3-zope-interface))
$(eval $(call BuildPackage,python3-zope-interface-src)) $(eval $(call BuildPackage,python3-zope-interface-src))

+ 1
- 17
lang/python/ruamel-yaml/Makefile View File

@ -20,7 +20,6 @@ PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/ruamel-yaml/Default define Package/ruamel-yaml/Default
@ -31,13 +30,6 @@ define Package/ruamel-yaml/Default
URL:=https://bitbucket.org/ruamel/yaml URL:=https://bitbucket.org/ruamel/yaml
endef 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 define Package/python3-ruamel-yaml
$(call Package/ruamel-yaml/Default) $(call Package/ruamel-yaml/Default)
DEPENDS:= \ DEPENDS:= \
@ -45,20 +37,12 @@ $(call Package/ruamel-yaml/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 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) (Variant for Python3)
endef 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 Py3Package,python3-ruamel-yaml))
$(eval $(call BuildPackage,python3-ruamel-yaml)) $(eval $(call BuildPackage,python3-ruamel-yaml))
$(eval $(call BuildPackage,python3-ruamel-yaml-src)) $(eval $(call BuildPackage,python3-ruamel-yaml-src))

+ 1
- 17
lang/python/text-unidecode/Makefile View File

@ -20,7 +20,6 @@ PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-text-unidecode/Default define Package/python-text-unidecode/Default
@ -31,13 +30,6 @@ define Package/python-text-unidecode/Default
URL:=https://github.com/kmike/text-unidecode/ URL:=https://github.com/kmike/text-unidecode/
endef 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 define Package/python3-text-unidecode
$(call Package/python-text-unidecode/Default) $(call Package/python-text-unidecode/Default)
DEPENDS:= \ DEPENDS:= \
@ -45,20 +37,12 @@ $(call Package/python-text-unidecode/Default)
VARIANT:=python3 VARIANT:=python3
endef 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 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) (Variant for Python3)
endef 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 Py3Package,python3-text-unidecode))
$(eval $(call BuildPackage,python3-text-unidecode)) $(eval $(call BuildPackage,python3-text-unidecode))
$(eval $(call BuildPackage,python3-text-unidecode-src)) $(eval $(call BuildPackage,python3-text-unidecode-src))

+ 1
- 15
lang/python/vobject/Makefile View File

@ -14,7 +14,6 @@ PKG_HASH:=96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python-vobject/Default define Package/python-vobject/Default
@ -26,31 +25,18 @@ define Package/python-vobject/Default
URL:=http://eventable.github.io/vobject/ URL:=http://eventable.github.io/vobject/
endef 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 define Package/python3-vobject
$(call Package/python-vobject/Default) $(call Package/python-vobject/Default)
DEPENDS:=+PACKAGE_python3-vobject:python3 +PACKAGE_python3-vobject:python3-dateutil DEPENDS:=+PACKAGE_python3-vobject:python3 +PACKAGE_python3-vobject:python3-dateutil
VARIANT:=python3 VARIANT:=python3
endef endef
define Package/python-vobject/description
vCard and vCalendar support for Python
endef
define Package/python3-vobject/description define Package/python3-vobject/description
$(call Package/python-vobject/description)
vCard and vCalendar support for Python
. .
(Variant for Python3) (Variant for Python3)
endef endef
$(eval $(call PyPackage,python-vobject))
$(eval $(call BuildPackage,python-vobject))
$(eval $(call BuildPackage,python-vobject-src))
$(eval $(call Py3Package,python3-vobject)) $(eval $(call Py3Package,python3-vobject))
$(eval $(call BuildPackage,python3-vobject)) $(eval $(call BuildPackage,python3-vobject))
$(eval $(call BuildPackage,python3-vobject-src)) $(eval $(call BuildPackage,python3-vobject-src))

Loading…
Cancel
Save