From 2b6483add12df0917925f5e5a816ff5276644462 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 20 Dec 2019 18:52:08 +0100 Subject: [PATCH 1/7] python3-CherryPy: update to 18.5.0. --- srcpkgs/python3-CherryPy/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-CherryPy/template b/srcpkgs/python3-CherryPy/template index 334286bc15c..6376af664a2 100644 --- a/srcpkgs/python3-CherryPy/template +++ b/srcpkgs/python3-CherryPy/template @@ -1,20 +1,21 @@ # Template file for 'python3-CherryPy' pkgname=python3-CherryPy -version=18.4.0 -revision=2 +version=18.5.0 +revision=1 archs=noarch wrksrc="CherryPy-${version}" build_style=python3-module pycompile_module="cherrypy" hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-Cheroot python3-portend python3-zc.lockfile" +depends="python3-setuptools python3-Cheroot python3-portend python3-zc.lockfile + python3-jaraco.collections" short_desc="Object-oriented HTTP framework (Python3)" maintainer="bra1nwave " license="BSD-3-Clause" homepage="https://cherrypy.org/" changelog="https://raw.githubusercontent.com/cherrypy/cherrypy/master/CHANGES.rst" distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz" -checksum=e5be00304ca303d7791d14b5ce1436428e18939b91806250387c363ae56c8f8f +checksum=63b2f61c38c469112145bd4e4e2385cd18f3233799e7a33bd447df468916d22b alternatives="cherrypy:cherryd:/usr/bin/cherryd3" pre_build() { From cb6ff661a2a329483c160e3cdac39dfe1a2e1ac3 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 20 Dec 2019 18:53:37 +0100 Subject: [PATCH 2/7] python-jaraco.functools: split python3 version --- srcpkgs/python-jaraco.functools/template | 24 +++++++----------------- srcpkgs/python3-jaraco.functools | 1 - 2 files changed, 7 insertions(+), 18 deletions(-) delete mode 120000 srcpkgs/python3-jaraco.functools diff --git a/srcpkgs/python-jaraco.functools/template b/srcpkgs/python-jaraco.functools/template index 5d5112bbee3..b2ef627900b 100644 --- a/srcpkgs/python-jaraco.functools/template +++ b/srcpkgs/python-jaraco.functools/template @@ -1,14 +1,14 @@ # Template file for 'python-jaraco.functools' pkgname=python-jaraco.functools version=2.0 -revision=2 +revision=3 archs=noarch wrksrc="jaraco.functools-${version}" -build_style=python-module -pycompile_module="jaraco.functools" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-more-itertools python-backports.functools_lru_cache" -short_desc="Additional functools in the spirit of Python2 stdlib's functools" +build_style=python2-module +pycompile_module="jaraco" +hostmakedepends="python-setuptools" +depends="python-more-itertools python-backports.functools_lru_cache python-jaraco" +short_desc="Functools like those found in stdlib (Python2)" maintainer="Aluísio Augusto Silva Gonçalves " license="MIT" homepage="https://github.com/jaraco/jaraco.functools" @@ -17,16 +17,6 @@ distfiles="${PYPI_SITE}/j/jaraco.functools/jaraco.functools-${version}.tar.gz" checksum=35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345 post_install() { + rm -r ${DESTDIR}/${py2_sitelib}/jaraco/__init__.py vlicense LICENSE } - -python3-jaraco.functools_package() { - archs=noarch - pycompile_module="jaraco.functools" - depends="python3-more-itertools" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove "usr/lib/python3*" - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-jaraco.functools b/srcpkgs/python3-jaraco.functools deleted file mode 120000 index 39629bcffae..00000000000 --- a/srcpkgs/python3-jaraco.functools +++ /dev/null @@ -1 +0,0 @@ -python-jaraco.functools \ No newline at end of file From 7c54b7cd10ed2ea111d93468e28c22095bc07c03 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 20 Dec 2019 18:54:50 +0100 Subject: [PATCH 3/7] New package: python3-jaraco.functools-3.0.0 --- srcpkgs/python3-jaraco.functools/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-jaraco.functools/template diff --git a/srcpkgs/python3-jaraco.functools/template b/srcpkgs/python3-jaraco.functools/template new file mode 100644 index 00000000000..1a8b0b08a16 --- /dev/null +++ b/srcpkgs/python3-jaraco.functools/template @@ -0,0 +1,22 @@ +# Template file for 'python3-jaraco.functools' +pkgname=python3-jaraco.functools +version=3.0.0 +revision=1 +archs=noarch +wrksrc="jaraco.functools-${version}" +build_style=python3-module +pycompile_module="jaraco" +hostmakedepends="python3-setuptools" +depends="python3-more-itertools python3-jaraco" +short_desc="Functools like those found in stdlib (Python3)" +maintainer="bra1nwave " +license="MIT" +homepage="https://github.com/jaraco/jaraco.functools" +changelog="https://raw.githubusercontent.com/jaraco/jaraco.functools/master/CHANGES.rst" +distfiles="${PYPI_SITE}/j/jaraco.functools/jaraco.functools-${version}.tar.gz" +checksum=5cb0eea0f254584241c519641328a4d4ec2001a86c3cd6d17a8fd228493f6d97 + +post_install() { + rm -r ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py + vlicense LICENSE +} From c413309970c8bb7c936a5c72a2d41040fbaf9cd7 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 20 Dec 2019 18:55:11 +0100 Subject: [PATCH 4/7] New package: python3-jaraco.classes-3.1.0 --- srcpkgs/python3-jaraco.classes/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-jaraco.classes/template diff --git a/srcpkgs/python3-jaraco.classes/template b/srcpkgs/python3-jaraco.classes/template new file mode 100644 index 00000000000..b5b53e402a0 --- /dev/null +++ b/srcpkgs/python3-jaraco.classes/template @@ -0,0 +1,22 @@ +# Template file for 'python3-jaraco.classes' +pkgname=python3-jaraco.classes +version=3.1.0 +revision=1 +archs=noarch +wrksrc="jaraco.classes-${version}" +build_style=python3-module +pycompile_module="jaraco" +hostmakedepends="python3-setuptools" +depends="python3-jaraco python3-more-itertools" +short_desc="Utility functions for Python class constructs (Python3)" +maintainer="bra1nwave " +license="MIT" +homepage="https://github.com/jaraco/jaraco.classes" +changelog="https://raw.githubusercontent.com/jaraco/jaraco.classes/master/CHANGES.rst" +distfiles="${PYPI_SITE}/j/jaraco.classes/jaraco.classes-${version}.tar.gz" +checksum=c38698ff8ef932eb33d91c0e8fc192ad7c44ecee03f7f585afd4f35aeaef7aab + +post_install() { + rm -r ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py + vlicense LICENSE +} From cc787bbf6eecc3d0963053edef56e1541f20e179 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 20 Dec 2019 18:55:18 +0100 Subject: [PATCH 5/7] New package: python3-jaraco.collections-3.0.0 --- srcpkgs/python3-jaraco.collections/template | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-jaraco.collections/template diff --git a/srcpkgs/python3-jaraco.collections/template b/srcpkgs/python3-jaraco.collections/template new file mode 100644 index 00000000000..384dfff5acd --- /dev/null +++ b/srcpkgs/python3-jaraco.collections/template @@ -0,0 +1,22 @@ +# Template file for 'python3-jaraco.collections' +pkgname=python3-jaraco.collections +version=3.0.0 +revision=1 +archs=noarch +wrksrc="jaraco.collections-${version}" +build_style=python3-module +pycompile_module="jaraco" +hostmakedepends="python3-setuptools" +depends="python3-jaraco.classes python3-jaraco.text python3-six" +short_desc="Collection of objects similar to stdlib by jaraco (Python3)" +maintainer="bra1nwave " +license="MIT" +homepage="https://github.com/jaraco/jaraco.collections" +changelog="https://raw.githubusercontent.com/jaraco/jaraco.collections/master/CHANGES.rst" +distfiles="${PYPI_SITE}/j/jaraco.collections/jaraco.collections-${version}.tar.gz" +checksum=be570ef4f2e7290b757449395238fa63d70a9255574624e73c5ff9f1ee554721 + +post_install() { + rm -r ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py + vlicense LICENSE +} From 07923b096aa6f10e3eb1324441ee8e05c8b6aed8 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 20 Dec 2019 18:55:46 +0100 Subject: [PATCH 6/7] New package: python-jaraco-1.0 --- srcpkgs/python-jaraco/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-jaraco | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-jaraco/template create mode 120000 srcpkgs/python3-jaraco diff --git a/srcpkgs/python-jaraco/template b/srcpkgs/python-jaraco/template new file mode 100644 index 00000000000..2ee0cb78c77 --- /dev/null +++ b/srcpkgs/python-jaraco/template @@ -0,0 +1,29 @@ +# Template file for 'python-jaraco' +pkgname=python-jaraco +version=1.0 +revision=1 +archs=noarch +create_wrksrc=yes +pycompile_module="jaraco" +short_desc="Namespace package declaration for jaraco (Python2)" +maintainer="bra1nwave " +license="Public Domain" +homepage="https://www.voidlinux.org/" + +do_install() { + for py_sitelib in $py2_sitelib $py3_sitelib; do + vmkdir ${py_sitelib}/jaraco + cat > ${DESTDIR}/${py_sitelib}/jaraco/__init__.py <<-EOF + __path__ = __import__('pkgutil').extend_path(__path__, __name__) + EOF + done +} + +python3-jaraco_package() { + archs=noarch + pycompile_module="jaraco" + short_desc="${short_desc/2/3}" + pkg_install() { + vmove "usr/lib/python3*" + } +} diff --git a/srcpkgs/python3-jaraco b/srcpkgs/python3-jaraco new file mode 120000 index 00000000000..74aef482c22 --- /dev/null +++ b/srcpkgs/python3-jaraco @@ -0,0 +1 @@ +python-jaraco \ No newline at end of file From c9d129607a26ff63829f9b313f430fe31c469977 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 20 Dec 2019 19:00:23 +0100 Subject: [PATCH 7/7] New package: python3-jaraco.text-3.2.0 --- srcpkgs/python3-jaraco.text/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-jaraco.text/template diff --git a/srcpkgs/python3-jaraco.text/template b/srcpkgs/python3-jaraco.text/template new file mode 100644 index 00000000000..0392ff5198d --- /dev/null +++ b/srcpkgs/python3-jaraco.text/template @@ -0,0 +1,22 @@ +# Template file for 'python3-jaraco.text' +pkgname=python3-jaraco.text +version=3.2.0 +revision=1 +archs=noarch +wrksrc="jaraco.text-${version}" +build_style=python3-module +pycompile_module="jaraco" +hostmakedepends="python3-setuptools" +depends="python3-jaraco.functools python3-six" +short_desc="Module for text manipulation (Python3)" +maintainer="bra1nwave " +license="MIT" +homepage="https://github.com/jaraco/jaraco.text" +changelog="https://raw.githubusercontent.com/jaraco/jaraco.text/master/CHANGES.rst" +distfiles="${PYPI_SITE}/j/jaraco.text/jaraco.text-${version}.tar.gz" +checksum=e5078b1126cc0f166c7859aa75103a56c0d0f39ebcafc21695615472e0f810ec + +post_install() { + rm -r ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py + vlicense LICENSE +}