diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-04-01 22:21:16 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-04-02 14:57:30 +0800 |
| commit | 658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch) | |
| tree | 94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/pyodbc | |
| parent | c37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff) | |
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>
Diffstat (limited to 'lang/python/pyodbc')
| -rw-r--r-- | lang/python/pyodbc/Makefile | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/lang/python/pyodbc/Makefile b/lang/python/pyodbc/Makefile index fa70c8f6b..87ca5c936 100644 --- a/lang/python/pyodbc/Makefile +++ b/lang/python/pyodbc/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=2 PYPI_NAME:=$(PKG_NAME) PKG_HASH:=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3 -PKG_BUILD_DEPENDS:=python python3 unixodbc +PKG_BUILD_DEPENDS:=python3 unixodbc PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE.txt PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> @@ -20,7 +20,6 @@ PKG_BUILD_DEPENDS:=unixodbc/host include ../pypi.mk include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk -include ../python-package.mk include ../python3-package.mk define Package/python-pyodbc/Default @@ -31,15 +30,6 @@ define Package/python-pyodbc/Default DEPENDS:=+unixodbc $(CXX_DEPENDS) endef -define Package/python-pyodbc -$(call Package/python-pyodbc/Default) - TITLE:=python-pyodbc - DEPENDS+=+PACKAGE_python-pyodbc:python-light \ - +PACKAGE_python-pyodbc:python-logging \ - +PACKAGE_python-pyodbc:python-openssl - VARIANT:=python -endef - define Package/python3-pyodbc $(call Package/python-pyodbc/Default) TITLE:=python3-pyodbc @@ -47,21 +37,14 @@ $(call Package/python-pyodbc/Default) VARIANT:=python3 endef -define Package/python-pyodbc/description +define Package/python3-pyodbc/description DB API Module for ODBC A Python DB API 2 module for ODBC. This project provides an up-to-date, convenient interface to ODBC using native data types like datetime and decimal. -endef - -define Package/python3-pyodbc/description -$(call Package/python-pyodbc/description) (Variant for Python3) endef -$(eval $(call PyPackage,python-pyodbc)) -$(eval $(call BuildPackage,python-pyodbc)) - $(eval $(call Py3Package,python3-pyodbc)) $(eval $(call BuildPackage,python3-pyodbc)) |
