summaryrefslogtreecommitdiff
path: root/lang/python/python-simplejson/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-10-14 01:03:18 -0700
committerGitHub <noreply@github.com>2019-10-14 01:03:18 -0700
commit2dc860e24b50b56958dbae303912958d56fbba06 (patch)
tree626fa3a06add059aacff34e1777c805124cfc37f /lang/python/python-simplejson/Makefile
parentfbde87a6d2b3fed3a02b5f12609532ecaf140e61 (diff)
parent2f19a94d65bfca685e00a27e9000e699cfe20ad5 (diff)
Merge pull request #10181 from commodo/python-simple-json-drop-tests
python[3]-simplejson: drop tests from simplejson package
Diffstat (limited to 'lang/python/python-simplejson/Makefile')
-rw-r--r--lang/python/python-simplejson/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/python/python-simplejson/Makefile b/lang/python/python-simplejson/Makefile
index a97520020..6b2d45432 100644
--- a/lang/python/python-simplejson/Makefile
+++ b/lang/python/python-simplejson/Makefile
@@ -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))