1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00

Merge pull request #10181 from commodo/python-simple-json-drop-tests

python[3]-simplejson: drop tests from simplejson package
This commit is contained in:
Rosen Penev 2019-10-14 01:03:18 -07:00 committed by GitHub
commit 2dc860e24b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-simplejson
PKG_VERSION:=3.16.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=MIT
PKG_CPE_ID:=cpe:/a:simplejson_project:simplejson
@ -56,6 +56,16 @@ $(call Package/python-simplejson/description)
(Variant for Python3)
endef
define PyPackage/python-simplejson/filespec
+|$(PYTHON_PKG_DIR)
-|$(PYTHON_PKG_DIR)/simplejson/tests
endef
define Py3Package/python3-simplejson/filespec
+|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/simplejson/tests
endef
$(eval $(call PyPackage,python-simplejson))
$(eval $(call BuildPackage,python-simplejson))
$(eval $(call BuildPackage,python-simplejson-src))