summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2020-08-24 13:14:35 +0200
committerGitHub <noreply@github.com>2020-08-24 13:14:35 +0200
commitf70d02511731a94f759b01dc9f2b8af606082bd8 (patch)
tree81212a84c99fb0ce4854111081d45b466fc22bab /lang/python
parent7df1e45985eaa30a5d4677e874b71ee4b19b765b (diff)
parentbbbea447804035e37dd7a6cb1327fe6fad3472b0 (diff)
Merge pull request #12480 from ja-pa/python-pytest-update
python-pytest: update to version 6.0.1
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/python-iniconfig/Makefile43
-rw-r--r--lang/python/python-py/Makefile8
-rw-r--r--lang/python/python-pytest/Makefile14
-rw-r--r--lang/python/python-toml/Makefile40
4 files changed, 93 insertions, 12 deletions
diff --git a/lang/python/python-iniconfig/Makefile b/lang/python/python-iniconfig/Makefile
new file mode 100644
index 000000000..b95cf3da3
--- /dev/null
+++ b/lang/python/python-iniconfig/Makefile
@@ -0,0 +1,43 @@
+#
+# Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-iniconfig
+PKG_VERSION:=1.0.1
+PKG_RELEASE:=1
+
+PYPI_NAME:=iniconfig
+PKG_HASH:=e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69
+
+PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+PKG_BUILD_PARALLEL:=0
+HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-iniconfig
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=Simple config-ini parser
+ URL:=https://github.com/RonnyPfannschmidt/iniconfig
+ DEPENDS:= +python3-light
+endef
+
+define Package/python3-iniconfig/description
+ iniconfig is a small and simple INI-file parser module.
+endef
+
+$(eval $(call Py3Package,python3-iniconfig))
+$(eval $(call BuildPackage,python3-iniconfig))
+$(eval $(call BuildPackage,python3-iniconfig-src))
diff --git a/lang/python/python-py/Makefile b/lang/python/python-py/Makefile
index 8d7925453..dbe70d3b0 100644
--- a/lang/python/python-py/Makefile
+++ b/lang/python/python-py/Makefile
@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-py
-PKG_VERSION:=1.8.1
-PKG_RELEASE:=3
+PKG_VERSION:=1.9.0
+PKG_RELEASE:=1
PYPI_NAME:=py
-PKG_HASH:=5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa
+PKG_HASH:=9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
PKG_LICENSE:=MIT
@@ -31,7 +31,7 @@ define Package/python3-py
CATEGORY:=Languages
TITLE:=py
URL:=https://github.com/pytest-dev/py
- DEPENDS:=+python3-light
+ DEPENDS:=+python3-light +python3-xml +python3-urllib
endef
define Package/python3-py/description
diff --git a/lang/python/python-pytest/Makefile b/lang/python/python-pytest/Makefile
index 8b1dadcb1..1841f84a7 100644
--- a/lang/python/python-pytest/Makefile
+++ b/lang/python/python-pytest/Makefile
@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-pytest
-PKG_VERSION:=5.4.2
-PKG_RELEASE:=2
+PKG_VERSION:=6.0.1
+PKG_RELEASE:=1
PYPI_NAME:=pytest
-PKG_HASH:=eb2b5e935f6a019317e455b6da83dd8650ac9ffd2ee73a7b657a30873d67a698
+PKG_HASH:=85228d75db9f45e06e57ef9bf4429267f81ac7c0d742cc9ed63d09886a9fe6f4
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
PKG_LICENSE:=MIT
@@ -32,16 +32,14 @@ define Package/python3-pytest
TITLE:=Python testing framework
URL:=https://docs.pytest.org/en/latest/
DEPENDS:= \
- +python3-light \
+ +python3 \
+python3-more-itertools \
+python3-py \
+python3-attrs \
+python3-pluggy \
+python3-packaging \
- +python3-wcwidth \
- +python3-decimal \
- +python3-logging \
- +python3-urllib
+ +python3-toml \
+ +python3-iniconfig
endef
define Package/python3-pytest/description
diff --git a/lang/python/python-toml/Makefile b/lang/python/python-toml/Makefile
new file mode 100644
index 000000000..5ee5c5411
--- /dev/null
+++ b/lang/python/python-toml/Makefile
@@ -0,0 +1,40 @@
+#
+# Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-toml
+PKG_VERSION:=0.10.1
+PKG_RELEASE:=1
+
+PYPI_NAME:=toml
+PKG_HASH:=926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f
+
+PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-toml
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=A Python library for parsing and creating TOML
+ URL:=https://github.com/uiri/toml
+ DEPENDS:= +python3-light +python3-decimal
+endef
+
+define Package/python3-toml/description
+ Python Library for Tom's Obvious, Minimal Language
+endef
+
+$(eval $(call Py3Package,python3-toml))
+$(eval $(call BuildPackage,python3-toml))
+$(eval $(call BuildPackage,python3-toml-src))