From b04c978a3121840610d596ec86329d9558c735e2 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:38:10 +0200 Subject: [PATCH 01/27] python-Jinja2: disable tests --- srcpkgs/python-Jinja2/template | 5 ----- 1 file changed, 5 deletions(-) diff --git a/srcpkgs/python-Jinja2/template b/srcpkgs/python-Jinja2/template index 3e8ab4268b5d..fb7976d05949 100644 --- a/srcpkgs/python-Jinja2/template +++ b/srcpkgs/python-Jinja2/template @@ -6,7 +6,6 @@ wrksrc="Jinja2-${version}" build_style=python2-module hostmakedepends="python-setuptools" depends="python-MarkupSafe" -checkdepends="python-pytest $depends" short_desc="Full featured template engine (Python2)" maintainer="Alessio Sergi " license="BSD-3-Clause" @@ -15,10 +14,6 @@ changelog="https://raw.githubusercontent.com/pallets/jinja/master/CHANGES.rst" distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz" checksum=a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6 -do_check() { - PYTHONPATH=src python2 -m pytest -} - post_install() { vlicense LICENSE.rst # these files are valid only on Python 3.6+ From c1cfe305f8b85c2717980c2cccd77ffd8c3dfe04 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:47:23 +0200 Subject: [PATCH 02/27] python-SQLAlchemy: disable tests --- srcpkgs/python-SQLAlchemy/template | 3 +-- srcpkgs/python-pluggy/template | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/srcpkgs/python-SQLAlchemy/template b/srcpkgs/python-SQLAlchemy/template index 359aa5084f2b..9f047382fdc1 100644 --- a/srcpkgs/python-SQLAlchemy/template +++ b/srcpkgs/python-SQLAlchemy/template @@ -6,14 +6,13 @@ wrksrc="SQLAlchemy-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" makedepends="python-devel python3-devel" -checkdepends="python3-mock python3-pytest - python-mock python-pytest" short_desc="SQL Toolkit and Object Relational Mapper for Python2" maintainer="Orphaned " license="MIT" homepage="https://www.sqlalchemy.org" distfiles="${PYPI_SITE}/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz" checksum=da2fb75f64792c1fc64c82313a00c728a7c301efe6a60b7a9fe35b16b4368ce7 +make_check=no post_install() { vlicense LICENSE diff --git a/srcpkgs/python-pluggy/template b/srcpkgs/python-pluggy/template index 13eae9e29509..91f5b58a4e4e 100644 --- a/srcpkgs/python-pluggy/template +++ b/srcpkgs/python-pluggy/template @@ -6,7 +6,6 @@ wrksrc="pluggy-${version}" build_style=python2-module hostmakedepends="python-setuptools" depends="python" -checkdepends="python-pytest ${depends}" short_desc="Minimalist production ready plugin system (Python2)" maintainer="Orphaned " license="MIT" @@ -14,10 +13,6 @@ homepage="https://github.com/pytest-dev/pluggy" distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz" checksum=15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 -do_check() { - PYTHONPATH=$(pwd)/build/lib python2 -m pytest -} - post_install() { vlicense LICENSE } From 1a3f6e233bd1d59865eb5cfea50dd15c86390441 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:48:50 +0200 Subject: [PATCH 03/27] python-hyperlink: remove python2 checkdepends --- srcpkgs/python-hyperlink/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/python-hyperlink/template b/srcpkgs/python-hyperlink/template index 710b8eb13db8..c2e4a6e1d058 100644 --- a/srcpkgs/python-hyperlink/template +++ b/srcpkgs/python-hyperlink/template @@ -6,8 +6,7 @@ wrksrc="hyperlink-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python-idna" -checkdepends="python-idna python-typing python-pytest python-mock - python3-idna python3-pytest" +checkdepends="python3-idna python3-pytest" short_desc="Pure-Python implementation of immutable URLs (Python2)" maintainer="Alessio Sergi " license="MIT" From f944435a38f545a1244339a02de471dfc0a8bc79 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:51:57 +0200 Subject: [PATCH 04/27] python-attrs: disable python2 tests --- srcpkgs/python-attrs/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python-attrs/template b/srcpkgs/python-attrs/template index 88779a213b05..3e572c67ec8a 100644 --- a/srcpkgs/python-attrs/template +++ b/srcpkgs/python-attrs/template @@ -6,8 +6,8 @@ wrksrc="attrs-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" -checkdepends="python-hypothesis python3-hypothesis python-pytest - python3-pytest python-zope.interface python3-zope.interface python3-six" +checkdepends="python3-pytest python-zope.interface python3-zope.interface + python3-six" short_desc="Attributes without boilerplate (Python2)" maintainer="Alessio Sergi " license="MIT" @@ -16,7 +16,6 @@ distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz" checksum=ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb do_check() { - PYTHONPATH="$(cd build-2.7/lib* && pwd)" python2 -m pytest PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest } From 7c0305aaa8a4cd0387a53b2c59e7e45b525771ca Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:55:10 +0200 Subject: [PATCH 05/27] python-cffi: disable python2 tests --- srcpkgs/python-cffi/template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/srcpkgs/python-cffi/template b/srcpkgs/python-cffi/template index 5a098995a96f..642492e9cd94 100644 --- a/srcpkgs/python-cffi/template +++ b/srcpkgs/python-cffi/template @@ -7,7 +7,7 @@ build_style=python-module hostmakedepends="python-setuptools python3-setuptools libffi-devel" makedepends="python-devel python3-devel libffi-devel" depends="python-pycparser" -checkdepends="python-pytest python3-pytest python-pycparser python3-pycparser" +checkdepends="python3-pytest python3-pycparser" short_desc="C foreign function interface for Python2" maintainer="Andrew J. Hesford " license="MIT" @@ -25,8 +25,6 @@ do_check() { excludes+=' and not test_wraps_from_stdlib' excludes+=' and not test_stdcall_only_on_windows' - PYTHONPATH="$(cd build-2.7/lib* && pwd)" \ - python2 -m pytest c/ testing/ -x -k "$excludes" PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" \ python3 -m pytest c/ testing/ -x -k "$excludes" } From 90948508ee3b2083f77a6a6d324a6ef03e92c2ed Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:56:08 +0200 Subject: [PATCH 06/27] python-six: disable python2 tests --- srcpkgs/python-six/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/python-six/template b/srcpkgs/python-six/template index b50e793b2c9b..bae3a78bd13a 100644 --- a/srcpkgs/python-six/template +++ b/srcpkgs/python-six/template @@ -6,7 +6,7 @@ wrksrc="six-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" -checkdepends="python-pytest python3-pytest" +checkdepends="python3-pytest" short_desc="Python 2 and 3 compatibility utilities (Python2)" maintainer="Alessio Sergi " license="MIT" @@ -20,7 +20,6 @@ post_install() { } do_check() { - python -m pytest python3 -m pytest } From 1210c5ce7e7239a0b678df784474c41c279f2e2f Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:59:15 +0200 Subject: [PATCH 07/27] python-pytest: remove package --- srcpkgs/python-pytest/template | 43 ---------------------------------- srcpkgs/python-pytest/update | 1 - 2 files changed, 44 deletions(-) delete mode 100644 srcpkgs/python-pytest/template delete mode 100644 srcpkgs/python-pytest/update diff --git a/srcpkgs/python-pytest/template b/srcpkgs/python-pytest/template deleted file mode 100644 index 4d0f26440c72..000000000000 --- a/srcpkgs/python-pytest/template +++ /dev/null @@ -1,43 +0,0 @@ -# Template file for 'python-pytest' -pkgname=python-pytest -version=4.6.9 -revision=3 -wrksrc="pytest-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python-atomicwrites python-attrs>=17.4.0 python-funcsigs - python-more-itertools python-pluggy>=0.12.0 python-py>=1.6.0 - python-setuptools python-pathlib2 python-six>=1.10.0 - python-wcwidth python-hypothesis python-importlib_metadata - python-packaging" -checkdepends="$depends python-mock" -short_desc="Simple powerful testing with Python 2" -maintainer="Orphaned " -license="MIT" -homepage="https://pytest.org/en/latest/" -changelog="https://docs.pytest.org/en/latest/changelog.html" -distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz" -checksum=19e8f75eac01dd3f211edd465b39efbcbdc8fc5f7866d7dd49fedb30d8adf339 -alternatives=" - pytest:pytest:/usr/bin/pytest2 - pytest:py.test:/usr/bin/py.test2" - -post_patch() { - vsed -i setup.py \ - -e '/setup_requires=/d' \ - -e "s|use_scm_version=.*|version=\"${version}\",|" - # This merely check if pytest executable was generated - rm testing/test_entry_points.py -} - -do_check() { - # Don't use tox, tox will use its own environment instead of system - # package - PYTHONPATH=$(pwd)/build/lib python2 -m pytest -} - -post_install() { - mv ${DESTDIR}/usr/bin/pytest ${DESTDIR}/usr/bin/pytest2 - mv ${DESTDIR}/usr/bin/py.test ${DESTDIR}/usr/bin/py.test2 - vlicense LICENSE -} diff --git a/srcpkgs/python-pytest/update b/srcpkgs/python-pytest/update deleted file mode 100644 index 1ee159b4f4d9..000000000000 --- a/srcpkgs/python-pytest/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*rc[1-9] [5-9].*" From ffa9e63005380b0dd02b94e0c6cd9758d233e431 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:59:40 +0200 Subject: [PATCH 08/27] python-importlib_metadata: remove package --- srcpkgs/python-importlib_metadata/template | 16 ---------------- srcpkgs/python-importlib_metadata/update | 1 - 2 files changed, 17 deletions(-) delete mode 100644 srcpkgs/python-importlib_metadata/template delete mode 100644 srcpkgs/python-importlib_metadata/update diff --git a/srcpkgs/python-importlib_metadata/template b/srcpkgs/python-importlib_metadata/template deleted file mode 100644 index 8e7da36d3194..000000000000 --- a/srcpkgs/python-importlib_metadata/template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'python-importlib_metadata' -pkgname=python-importlib_metadata -version=2.1.1 -revision=1 -wrksrc="importlib_metadata-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python-zipp python-pathlib2 python-backports.configparser" -checkdepends="${depends}" -short_desc="Read metadata from Python packages" -maintainer="Piotr Wójcik " -license="Apache-2.0" -homepage="https://importlib-metadata.readthedocs.io/en/latest/" -changelog="https://importlib-metadata.readthedocs.io/en/latest/history.html" -distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz" -checksum=b8de9eff2b35fb037368f28a7df1df4e6436f578fa74423505b6c6a778d5b5dd diff --git a/srcpkgs/python-importlib_metadata/update b/srcpkgs/python-importlib_metadata/update deleted file mode 100644 index 9a186c91d98d..000000000000 --- a/srcpkgs/python-importlib_metadata/update +++ /dev/null @@ -1 +0,0 @@ -ignore="[3-9]*" From a3b58436083d3e65a4dde392890048b35ebb142c Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:00:04 +0200 Subject: [PATCH 09/27] python-zipp: remove package --- srcpkgs/python-zipp/template | 19 ------------------- srcpkgs/python-zipp/update | 1 - 2 files changed, 20 deletions(-) delete mode 100644 srcpkgs/python-zipp/template delete mode 100644 srcpkgs/python-zipp/update diff --git a/srcpkgs/python-zipp/template b/srcpkgs/python-zipp/template deleted file mode 100644 index 8a4c44b786f0..000000000000 --- a/srcpkgs/python-zipp/template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'python-zipp' -pkgname=python-zipp -version=1.2.0 -revision=2 -wrksrc="zipp-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python-more-itertools python-contextlib2" -short_desc="Pathlib-compatible Zipfile object wrapper" -maintainer="Piotr Wójcik " -license="MIT" -homepage="https://github.com/jaraco/zipp" -changelog="https://raw.githubusercontent.com/jaraco/zipp/master/CHANGES.rst" -distfiles="${PYPI_SITE}/z/zipp/zipp-${version}.tar.gz" -checksum=c70410551488251b0fee67b460fb9a536af8d6f9f008ad10ac51f615b6a521b1 - -post_install() { - vlicense LICENSE -} diff --git a/srcpkgs/python-zipp/update b/srcpkgs/python-zipp/update deleted file mode 100644 index 473c9b6c3296..000000000000 --- a/srcpkgs/python-zipp/update +++ /dev/null @@ -1 +0,0 @@ -ignore="2.* 3.*" # require python 3 From 5663e7671aa2c052ba4584343a5ba22c1a5ff139 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:00:43 +0200 Subject: [PATCH 10/27] python-pathlib2: remove package --- srcpkgs/python-pathlib2/template | 29 ----------------------------- srcpkgs/python3-pathlib2 | 1 - srcpkgs/python3-pathlib2/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/python-pathlib2/template delete mode 120000 srcpkgs/python3-pathlib2 create mode 100644 srcpkgs/python3-pathlib2/template diff --git a/srcpkgs/python-pathlib2/template b/srcpkgs/python-pathlib2/template deleted file mode 100644 index fc4b7a31fc5f..000000000000 --- a/srcpkgs/python-pathlib2/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'python-pathlib2' -pkgname=python-pathlib2 -version=2.3.4 -revision=6 -wrksrc="pathlib2-${version}" -build_style=python-module -pycompile_module="pathlib2" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-six python-scandir" -short_desc="Object-oriented filesystem paths (Python2)" -maintainer="Alessio Sergi " -license="MIT" -homepage="https://github.com/mcmtroffaes/pathlib2" -distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz" -checksum=446014523bb9be5c28128c4d2a10ad6bb60769e78bd85658fe44a450674e0ef8 - -python3-pathlib2_package() { - depends="python3-six python3-scandir" - pycompile_module="pathlib2" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.rst - } -} - -post_install() { - vlicense LICENSE.rst -} diff --git a/srcpkgs/python3-pathlib2 b/srcpkgs/python3-pathlib2 deleted file mode 120000 index bb0f70e054c1..000000000000 --- a/srcpkgs/python3-pathlib2 +++ /dev/null @@ -1 +0,0 @@ -python-pathlib2 \ No newline at end of file diff --git a/srcpkgs/python3-pathlib2/template b/srcpkgs/python3-pathlib2/template new file mode 100644 index 000000000000..995dc22d1cae --- /dev/null +++ b/srcpkgs/python3-pathlib2/template @@ -0,0 +1,18 @@ +# Template file for 'python3-pathlib2' +pkgname=python3-pathlib2 +version=2.3.4 +revision=8 +wrksrc="pathlib2-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-six python3-scandir" +short_desc="Object-oriented filesystem paths (Python3)" +maintainer="Alessio Sergi " +license="MIT" +homepage="https://github.com/mcmtroffaes/pathlib2" +distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz" +checksum=446014523bb9be5c28128c4d2a10ad6bb60769e78bd85658fe44a450674e0ef8 + +post_install() { + vlicense LICENSE.rst +} From a6eb86aa3943f061f090944f4ffc2180d3084ba6 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:03:02 +0200 Subject: [PATCH 11/27] python-scandir: remove package --- srcpkgs/python-scandir/template | 30 ------------------------------ srcpkgs/python3-scandir | 1 - srcpkgs/python3-scandir/template | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/python-scandir/template delete mode 120000 srcpkgs/python3-scandir create mode 100644 srcpkgs/python3-scandir/template diff --git a/srcpkgs/python-scandir/template b/srcpkgs/python-scandir/template deleted file mode 100644 index fb7c016c411c..000000000000 --- a/srcpkgs/python-scandir/template +++ /dev/null @@ -1,30 +0,0 @@ -# Template file for 'python-scandir' -pkgname=python-scandir -version=1.10.0 -revision=5 -wrksrc="scandir-${version}" -build_style=python-module -pycompile_module="scandir.py" -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -depends="python" -short_desc="Better directory iterator and faster os.walk() (Python2)" -maintainer="Alessio Sergi " -license="BSD-3-Clause" -homepage="https://github.com/benhoyt/scandir" -distfiles="${PYPI_SITE}/s/scandir/scandir-${version}.tar.gz" -checksum=4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae - -python3-scandir_package() { - pycompile_module="scandir.py" - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.txt - } -} - -post_install() { - vlicense LICENSE.txt -} diff --git a/srcpkgs/python3-scandir b/srcpkgs/python3-scandir deleted file mode 120000 index a572ade2d3ea..000000000000 --- a/srcpkgs/python3-scandir +++ /dev/null @@ -1 +0,0 @@ -python-scandir \ No newline at end of file diff --git a/srcpkgs/python3-scandir/template b/srcpkgs/python3-scandir/template new file mode 100644 index 000000000000..0950352b0c7d --- /dev/null +++ b/srcpkgs/python3-scandir/template @@ -0,0 +1,19 @@ +# Template file for 'python3-scandir' +pkgname=python3-scandir +version=1.10.0 +revision=7 +wrksrc="scandir-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="python3" +short_desc="Better directory iterator and faster os.walk()" +maintainer="Alessio Sergi " +license="BSD-3-Clause" +homepage="https://github.com/benhoyt/scandir" +distfiles="${PYPI_SITE}/s/scandir/scandir-${version}.tar.gz" +checksum=4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae + +post_install() { + vlicense LICENSE.txt +} From 63496aeaecaff11a697e1bc7114e5c736e34db06 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:03:32 +0200 Subject: [PATCH 12/27] python-wcwidth: remove package --- srcpkgs/python3-wcwidth | 1 - .../template | 21 ++++++------------- 2 files changed, 6 insertions(+), 16 deletions(-) delete mode 120000 srcpkgs/python3-wcwidth rename srcpkgs/{python-wcwidth => python3-wcwidth}/template (51%) diff --git a/srcpkgs/python3-wcwidth b/srcpkgs/python3-wcwidth deleted file mode 120000 index 83fc9e89f4ea..000000000000 --- a/srcpkgs/python3-wcwidth +++ /dev/null @@ -1 +0,0 @@ -python-wcwidth \ No newline at end of file diff --git a/srcpkgs/python-wcwidth/template b/srcpkgs/python3-wcwidth/template similarity index 51% rename from srcpkgs/python-wcwidth/template rename to srcpkgs/python3-wcwidth/template index a21b21883e10..49ed39a1fd8a 100644 --- a/srcpkgs/python-wcwidth/template +++ b/srcpkgs/python3-wcwidth/template @@ -1,12 +1,12 @@ -# Template file for 'python-wcwidth' -pkgname=python-wcwidth +# Template file for 'python3-wcwidth' +pkgname=python3-wcwidth version=0.2.5 revision=4 wrksrc="wcwidth-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-backports.functools_lru_cache" -short_desc="Measures no. of terminal column cells of wide-character codes (Python2)" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Measures no. of terminal column cells of wide-character codes" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/jquast/wcwidth" @@ -16,12 +16,3 @@ checksum=c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83 post_install() { vlicense LICENSE } - -python3-wcwidth_package() { - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} From 657da0aa15d38f85a9752a50d78104c5f2c6cc6c Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:04:18 +0200 Subject: [PATCH 13/27] python-backports.configparser: remove package --- srcpkgs/python-backports.configparser/template | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 srcpkgs/python-backports.configparser/template diff --git a/srcpkgs/python-backports.configparser/template b/srcpkgs/python-backports.configparser/template deleted file mode 100644 index c74f73a0bf68..000000000000 --- a/srcpkgs/python-backports.configparser/template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'python-backports.configparser' -pkgname=python-backports.configparser -version=3.5.0 -revision=2 -wrksrc="configparser-${version}" -build_style=python2-module -pycompile_module="backports configparser.py" -hostmakedepends="python-setuptools" -depends="python-backports" -short_desc="Backport of Python 3.x configparser module" -maintainer="Alessio Sergi " -homepage="https://bitbucket.org/ambv/configparser" -license="MIT" -distfiles="${PYPI_SITE}/c/configparser/configparser-${version}.tar.gz" -checksum=5308b47021bc2340965c371f0f058cc6971a04502638d4244225c49d80db273a From 46f91830aee94d0654d4591f73fbe838be9783bf Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:04:37 +0200 Subject: [PATCH 14/27] python-backports.functools_lru_cache: remove package --- .../template | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 srcpkgs/python-backports.functools_lru_cache/template diff --git a/srcpkgs/python-backports.functools_lru_cache/template b/srcpkgs/python-backports.functools_lru_cache/template deleted file mode 100644 index 9369a6005317..000000000000 --- a/srcpkgs/python-backports.functools_lru_cache/template +++ /dev/null @@ -1,25 +0,0 @@ -# Template file for 'python-backports.functools_lru_cache' -pkgname=python-backports.functools_lru_cache -version=1.5 -revision=2 -wrksrc="backports.functools_lru_cache-${version}" -build_style=python2-module -pycompile_module="backports/functools_lru_cache.py" -hostmakedepends="python-setuptools" -depends="python-backports" -short_desc="Backport of functools.lru_cache from Python 3.3" -maintainer="Alessio Sergi " -homepage="https://github.com/jaraco/backports.functools_lru_cache" -license="PSF" -distfiles="${PYPI_SITE}/b/backports.functools_lru_cache/backports.functools_lru_cache-${version}.tar.gz" -checksum=9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a - -pre_build() { - sed -i setup.py \ - -e "/setuptools_scm/d" \ - -e "s/use_scm_version=True,/version=\"${version}\",/" -} -post_install() { - # namespace provided by python-backports package - rm -f ${DESTDIR}/usr/lib/python*/site-packages/backports/__init__.py -} From f5deb2a8af4e445f61e010b74bd04003a25763c5 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:04:50 +0200 Subject: [PATCH 15/27] python-backports: remove package --- srcpkgs/python-backports/template | 14 -------------- srcpkgs/python-backports/update | 1 - 2 files changed, 15 deletions(-) delete mode 100644 srcpkgs/python-backports/template delete mode 100644 srcpkgs/python-backports/update diff --git a/srcpkgs/python-backports/template b/srcpkgs/python-backports/template deleted file mode 100644 index 77409ecd82f1..000000000000 --- a/srcpkgs/python-backports/template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'python-backports' -pkgname=python-backports -version=1.0 -revision=5 -wrksrc="backports-${version}" -build_style=python2-module -hostmakedepends="python" -depends="python" -short_desc="Namespace for backported Python features" -maintainer="Alessio Sergi " -license="PSF-2.0" -homepage="https://pypi.org/project/backports/" -distfiles="https://dev.gentoo.org/~radhermit/dist/backports-${version}.tar.gz" -checksum=ee43d5b7bf4e79e04fbab30a09421cb5cbf4f56e7c14769393a7d1c34ea5e740 diff --git a/srcpkgs/python-backports/update b/srcpkgs/python-backports/update deleted file mode 100644 index d42937957597..000000000000 --- a/srcpkgs/python-backports/update +++ /dev/null @@ -1 +0,0 @@ -pkgname=backports From bc2de6351466d008e5fc76d446014a75fa8b07b3 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:05:26 +0200 Subject: [PATCH 16/27] python-mock: remove package --- srcpkgs/python-mock/template | 19 ------------------- srcpkgs/python-mock/update | 1 - 2 files changed, 20 deletions(-) delete mode 100644 srcpkgs/python-mock/template delete mode 100644 srcpkgs/python-mock/update diff --git a/srcpkgs/python-mock/template b/srcpkgs/python-mock/template deleted file mode 100644 index 6f55cd27b769..000000000000 --- a/srcpkgs/python-mock/template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'python-mock' -pkgname=python-mock -reverts="4.0.2_1 4.0.2_2" -version=3.0.5 -revision=2 -wrksrc="${pkgname#*-}-${version}" -build_style=python2-module -hostmakedepends="python-pbr python-setuptools" -depends="python-funcsigs python-pbr python-setuptools python-six" -short_desc="Rolling backport of unittest.mock for Python2" -maintainer="Toyam Cox " -license="BSD-2-Clause" -homepage="https://github.com/testing-cabal/mock" -distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz" -checksum=83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 - -post_install() { - vlicense LICENSE.txt LICENSE -} diff --git a/srcpkgs/python-mock/update b/srcpkgs/python-mock/update deleted file mode 100644 index 21e9eecbf240..000000000000 --- a/srcpkgs/python-mock/update +++ /dev/null @@ -1 +0,0 @@ -ignore="[4-9]*" # v4+ doesn't work with Python 2 From c544185143e14499924c1fcab59c7804b864f912 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:05:53 +0200 Subject: [PATCH 17/27] python-funcsigs: remove package --- srcpkgs/python-funcsigs/template | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 srcpkgs/python-funcsigs/template diff --git a/srcpkgs/python-funcsigs/template b/srcpkgs/python-funcsigs/template deleted file mode 100644 index 404dcec51aed..000000000000 --- a/srcpkgs/python-funcsigs/template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'python-funcsigs' -pkgname=python-funcsigs -version=1.0.2 -revision=2 -wrksrc="funcsigs-${version}" -build_style=python2-module -pycompile_module="funcsigs" -hostmakedepends="python-setuptools" -depends="python" -short_desc="Backport of the signature tools from Python 3.3's inspect module" -maintainer="Alessio Sergi " -homepage="https://github.com/testing-cabal/funcsigs" -license="Apache-2.0" -distfiles="${PYPI_SITE}/f/funcsigs/funcsigs-${version}.tar.gz" -checksum=a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50 From f3186afd278a78ebba8ce0f93e3e271312c633b1 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 14:37:46 +0200 Subject: [PATCH 18/27] python-hypothesis: remove package --- srcpkgs/python-hypothesis/template | 21 --------------------- srcpkgs/python-hypothesis/update | 1 - 2 files changed, 22 deletions(-) delete mode 100644 srcpkgs/python-hypothesis/template delete mode 100644 srcpkgs/python-hypothesis/update diff --git a/srcpkgs/python-hypothesis/template b/srcpkgs/python-hypothesis/template deleted file mode 100644 index fdd629732bcd..000000000000 --- a/srcpkgs/python-hypothesis/template +++ /dev/null @@ -1,21 +0,0 @@ -# Template file for 'python-hypothesis' -pkgname=python-hypothesis -version=4.38.2 -revision=5 -wrksrc="hypothesis-hypothesis-python-${version}" -build_wrksrc=hypothesis-python -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python-attrs python-coverage python-enum34" -checkdepends="python-coverage python-enum34 python-pytest" -short_desc="Python2 library for property based testing" -maintainer="Orphaned " -license="MPL-2.0" -homepage="https://hypothesis.works/" -changelog="https://github.com/HypothesisWorks/hypothesis/raw/master/hypothesis-python/docs/changes.rst" -distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz" -checksum=c53b652ed15350b0116bc1dd28516a71988437da772e25903309aa526f9c719e - -do_check() { - PYTHONPATH="${PWD}/build-2.7/lib" python2 -m pytest tests/py2 -} diff --git a/srcpkgs/python-hypothesis/update b/srcpkgs/python-hypothesis/update deleted file mode 100644 index d92e11af9555..000000000000 --- a/srcpkgs/python-hypothesis/update +++ /dev/null @@ -1 +0,0 @@ -pkgname=hypothesis-python From 55b8d4669ee340fd397dc132f7dd1bb001018e3e Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:11:24 +0200 Subject: [PATCH 19/27] python-contextlib2: remove package --- srcpkgs/python-contextlib2/template | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 srcpkgs/python-contextlib2/template diff --git a/srcpkgs/python-contextlib2/template b/srcpkgs/python-contextlib2/template deleted file mode 100644 index bef0e281f8f1..000000000000 --- a/srcpkgs/python-contextlib2/template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'python-contextlib2' -pkgname=python-contextlib2 -version=0.6.0.post1 -revision=1 -wrksrc="contextlib2-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python" -short_desc="Backports and enhancements for the contextlib module" -maintainer="Alessio Sergi " -license="PSF-2.0" -homepage="https://contextlib2.readthedocs.io/" -distfiles="${PYPI_SITE}/c/contextlib2/contextlib2-${version}.tar.gz" -checksum=01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e - -post_install() { - vlicense LICENSE.txt -} From 49d4aafb892911aa14f2256fb0fa9c0e6f78690e Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:11:40 +0200 Subject: [PATCH 20/27] python-more-itertools: remove package --- srcpkgs/python-more-itertools/template | 25 ------------------------- srcpkgs/python-more-itertools/update | 1 - 2 files changed, 26 deletions(-) delete mode 100644 srcpkgs/python-more-itertools/template delete mode 100644 srcpkgs/python-more-itertools/update diff --git a/srcpkgs/python-more-itertools/template b/srcpkgs/python-more-itertools/template deleted file mode 100644 index 7523a49c597c..000000000000 --- a/srcpkgs/python-more-itertools/template +++ /dev/null @@ -1,25 +0,0 @@ -# Template file for 'python-more-itertools' -pkgname=python-more-itertools -reverts="6.0.0_1" -version=5.0.0 -revision=3 -wrksrc="more-itertools-${version}" -build_style=python2-module -pycompile_module="more_itertools" -hostmakedepends="python-setuptools" -depends="python-six" -checkdepends="python-six" -short_desc="More Python2 routines for operating on itertables" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/erikrose/more-itertools" -distfiles="https://github.com/erikrose/more-itertools/archive/${version}.tar.gz" -checksum=a2dd59cdb7287d738b3c745558f0812b69b519cda21726b180b09d9d68d8b461 - -do_check() { - python setup.py test -} - -post_install() { - vlicense LICENSE -} diff --git a/srcpkgs/python-more-itertools/update b/srcpkgs/python-more-itertools/update deleted file mode 100644 index 43c9269b0579..000000000000 --- a/srcpkgs/python-more-itertools/update +++ /dev/null @@ -1 +0,0 @@ -ignore="[6789].*" # 6.0.0 and above dropped python2 support From 42ba8eddc728d532ac5fd0a8d08c464bd47d0a5b Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:14:57 +0200 Subject: [PATCH 21/27] python-packaging: remove package --- srcpkgs/python-packaging/template | 19 ------------------- srcpkgs/python-packaging/update | 3 --- 2 files changed, 22 deletions(-) delete mode 100644 srcpkgs/python-packaging/template delete mode 100644 srcpkgs/python-packaging/update diff --git a/srcpkgs/python-packaging/template b/srcpkgs/python-packaging/template deleted file mode 100644 index aa1f64182d7d..000000000000 --- a/srcpkgs/python-packaging/template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'python-packaging' -pkgname=python-packaging -version=20.4 -revision=2 -wrksrc="packaging-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python-parsing python-six" -short_desc="Core utilities for Python packages (Python2)" -maintainer="Alessio Sergi " -license="Apache-2.0, BSD-2-Clause" -homepage="https://github.com/pypa/packaging" -changelog="https://raw.githubusercontent.com/pypa/packaging/master/CHANGELOG.rst" -distfiles="${PYPI_SITE}/p/packaging/packaging-${version}.tar.gz" -checksum=4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8 - -post_install() { - vlicense LICENSE -} diff --git a/srcpkgs/python-packaging/update b/srcpkgs/python-packaging/update deleted file mode 100644 index 3b1a41fb94a5..000000000000 --- a/srcpkgs/python-packaging/update +++ /dev/null @@ -1,3 +0,0 @@ -# packaging >= 20.5 drops setuptools for flit, which is py3-only; -# prevent update hits on newer versions since they require py3 to build -pattern="packaging-\K20\.4(\.[0-9.]+)?(?=.tar.gz)" From fc7b799422960500a7ae2b35c3730a24fbbd2c96 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:15:17 +0200 Subject: [PATCH 22/27] python-parsing: remove package --- srcpkgs/python3-parsing | 1 - .../template | 23 ++++++------------- .../update | 0 3 files changed, 7 insertions(+), 17 deletions(-) delete mode 120000 srcpkgs/python3-parsing rename srcpkgs/{python-parsing => python3-parsing}/template (53%) rename srcpkgs/{python-parsing => python3-parsing}/update (100%) diff --git a/srcpkgs/python3-parsing b/srcpkgs/python3-parsing deleted file mode 120000 index b66a41741417..000000000000 --- a/srcpkgs/python3-parsing +++ /dev/null @@ -1 +0,0 @@ -python-parsing \ No newline at end of file diff --git a/srcpkgs/python-parsing/template b/srcpkgs/python3-parsing/template similarity index 53% rename from srcpkgs/python-parsing/template rename to srcpkgs/python3-parsing/template index 524a4a2d99ee..957785125915 100644 --- a/srcpkgs/python-parsing/template +++ b/srcpkgs/python3-parsing/template @@ -1,12 +1,12 @@ -# Template file for 'python-parsing' -pkgname=python-parsing +# Template file for 'python3-parsing' +pkgname=python3-parsing version=2.4.7 -revision=2 +revision=3 wrksrc="pyparsing-pyparsing_${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Python parsing module (Python2)" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python parsing module" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/pyparsing/pyparsing" @@ -17,12 +17,3 @@ checksum=6deecf4b95a49a5a9c89b4a4b1fcb73c1cba0e3265ec7b858adffcced229ba05 post_install() { vlicense LICENSE } - -python3-parsing_package() { - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python-parsing/update b/srcpkgs/python3-parsing/update similarity index 100% rename from srcpkgs/python-parsing/update rename to srcpkgs/python3-parsing/update From 7b00b208bcda608e316c178a2a6df9d7b02a87cb Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:17:01 +0200 Subject: [PATCH 23/27] python-pluggy: remove package --- srcpkgs/python-pluggy/template | 18 ------------------ srcpkgs/python-pluggy/update | 1 - 2 files changed, 19 deletions(-) delete mode 100644 srcpkgs/python-pluggy/template delete mode 100644 srcpkgs/python-pluggy/update diff --git a/srcpkgs/python-pluggy/template b/srcpkgs/python-pluggy/template deleted file mode 100644 index 91f5b58a4e4e..000000000000 --- a/srcpkgs/python-pluggy/template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'python-pluggy' -pkgname=python-pluggy -version=0.13.1 -revision=2 -wrksrc="pluggy-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python" -short_desc="Minimalist production ready plugin system (Python2)" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/pytest-dev/pluggy" -distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz" -checksum=15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 - -post_install() { - vlicense LICENSE -} diff --git a/srcpkgs/python-pluggy/update b/srcpkgs/python-pluggy/update deleted file mode 100644 index 9399cb78422a..000000000000 --- a/srcpkgs/python-pluggy/update +++ /dev/null @@ -1 +0,0 @@ -ignore="[1-9]*" # 1.0.0 dropped Python 2 support From f1e4457599b4ce6899877c620232870b3dd646a5 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:17:13 +0200 Subject: [PATCH 24/27] python-atomicwrites: remove package --- srcpkgs/python-atomicwrites/template | 29 --------------------------- srcpkgs/python3-atomicwrites | 1 - srcpkgs/python3-atomicwrites/template | 18 +++++++++++++++++ 3 files changed, 18 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/python-atomicwrites/template delete mode 120000 srcpkgs/python3-atomicwrites create mode 100644 srcpkgs/python3-atomicwrites/template diff --git a/srcpkgs/python-atomicwrites/template b/srcpkgs/python-atomicwrites/template deleted file mode 100644 index 389a2f4f35e1..000000000000 --- a/srcpkgs/python-atomicwrites/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'python-atomicwrites' -pkgname=python-atomicwrites -version=1.4.0 -revision=2 -wrksrc="atomicwrites-${version}" -build_style=python-module -pycompile_module="atomicwrites" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Simple Python2 API for atomic file writes" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/untitaker/python-atomicwrites" -distfiles="${PYPI_SITE}/a/atomicwrites/atomicwrites-${version}.tar.gz" -checksum=ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a - -post_install() { - vlicense LICENSE -} - -python3-atomicwrites_package() { - pycompile_module="atomicwrites" - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-atomicwrites b/srcpkgs/python3-atomicwrites deleted file mode 120000 index f3821781d3ed..000000000000 --- a/srcpkgs/python3-atomicwrites +++ /dev/null @@ -1 +0,0 @@ -python-atomicwrites \ No newline at end of file diff --git a/srcpkgs/python3-atomicwrites/template b/srcpkgs/python3-atomicwrites/template new file mode 100644 index 000000000000..8e7c323662ff --- /dev/null +++ b/srcpkgs/python3-atomicwrites/template @@ -0,0 +1,18 @@ +# Template file for 'python3-atomicwrites' +pkgname=python3-atomicwrites +version=1.4.0 +revision=3 +wrksrc="atomicwrites-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Simple Python3 API for atomic file writes" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/untitaker/python-atomicwrites" +distfiles="${PYPI_SITE}/a/atomicwrites/atomicwrites-${version}.tar.gz" +checksum=ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a + +post_install() { + vlicense LICENSE +} From 11be60f8aa5025bb078927a80413bed5be793f2e Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:18:25 +0200 Subject: [PATCH 25/27] python-py: remove package --- srcpkgs/python-py/template | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 srcpkgs/python-py/template diff --git a/srcpkgs/python-py/template b/srcpkgs/python-py/template deleted file mode 100644 index a4986bc3d631..000000000000 --- a/srcpkgs/python-py/template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'python-py' -pkgname=python-py -version=1.10.0 -revision=1 -wrksrc="py-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python" -short_desc="Python development support library" -maintainer="Johannes " -license="MIT" -homepage="https://github.com/pytest-dev/py" -changelog="https://github.com/pytest-dev/py/raw/master/CHANGELOG" -distfiles="${PYPI_SITE}/p/py/py-${version}.tar.gz" -checksum=21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3 - -post_install() { - vlicense LICENSE -} From 8824efb4001d93bed40c5b016c61648e28b95395 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:19:12 +0200 Subject: [PATCH 26/27] python-typing: remove package --- srcpkgs/python-typing/template | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 srcpkgs/python-typing/template diff --git a/srcpkgs/python-typing/template b/srcpkgs/python-typing/template deleted file mode 100644 index 4745c2b04b10..000000000000 --- a/srcpkgs/python-typing/template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'python-typing' -pkgname=python-typing -version=3.6.6 -revision=2 -wrksrc="typing-${version}" -build_style=python2-module -hostmakedepends="python-setuptools" -depends="python" -short_desc="Backport of the typing module from Python 3.5+" -maintainer="Alessio Sergi " -license="Python-2.0" -homepage="https://docs.python.org/3/library/typing.html" -distfiles="${PYPI_SITE}/t/typing/typing-${version}.tar.gz" -checksum=4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d - -post_install() { - vlicense LICENSE -} From f7f4802bb3a1a491253e407587a18c2b964bfb01 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 25 Sep 2022 15:22:07 +0200 Subject: [PATCH 27/27] python-coverage: remove package --- srcpkgs/python-coverage/template | 26 ------------------- srcpkgs/python3-coverage | 1 - .../patches/no-versioned-coverage.patch | 0 srcpkgs/python3-coverage/template | 15 +++++++++++ .../update | 0 5 files changed, 15 insertions(+), 27 deletions(-) delete mode 100644 srcpkgs/python-coverage/template delete mode 120000 srcpkgs/python3-coverage rename srcpkgs/{python-coverage => python3-coverage}/patches/no-versioned-coverage.patch (100%) create mode 100644 srcpkgs/python3-coverage/template rename srcpkgs/{python-coverage => python3-coverage}/update (100%) diff --git a/srcpkgs/python-coverage/template b/srcpkgs/python-coverage/template deleted file mode 100644 index 89e30b058c98..000000000000 --- a/srcpkgs/python-coverage/template +++ /dev/null @@ -1,26 +0,0 @@ -# Template file for 'python-coverage' -pkgname=python-coverage -version=5.0.3 -revision=3 -wrksrc="${pkgname/python-//}-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -depends="python-setuptools" -short_desc="Code coverage testing for Python2" -maintainer="Orphaned " -license="Apache-2.0" -homepage="https://bitbucket.org/ned/coveragepy" -distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz" -checksum=77afca04240c40450c331fa796b3eab6f1e15c5ecf8bf2b8bee9706cd5452fef -alternatives="coverage:coverage:/usr/bin/coverage2" - -python3-coverage_package() { - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - alternatives="coverage:coverage:/usr/bin/coverage3" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-coverage b/srcpkgs/python3-coverage deleted file mode 120000 index 8224e07188df..000000000000 --- a/srcpkgs/python3-coverage +++ /dev/null @@ -1 +0,0 @@ -python-coverage \ No newline at end of file diff --git a/srcpkgs/python-coverage/patches/no-versioned-coverage.patch b/srcpkgs/python3-coverage/patches/no-versioned-coverage.patch similarity index 100% rename from srcpkgs/python-coverage/patches/no-versioned-coverage.patch rename to srcpkgs/python3-coverage/patches/no-versioned-coverage.patch diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template new file mode 100644 index 000000000000..c9df64c156eb --- /dev/null +++ b/srcpkgs/python3-coverage/template @@ -0,0 +1,15 @@ +# Template file for 'python3-coverage' +pkgname=python3-coverage +version=5.0.3 +revision=4 +wrksrc="coverage-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="python3-setuptools" +short_desc="Code coverage testing for Python3" +maintainer="Orphaned " +license="Apache-2.0" +homepage="https://bitbucket.org/ned/coveragepy" +distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz" +checksum=77afca04240c40450c331fa796b3eab6f1e15c5ecf8bf2b8bee9706cd5452fef diff --git a/srcpkgs/python-coverage/update b/srcpkgs/python3-coverage/update similarity index 100% rename from srcpkgs/python-coverage/update rename to srcpkgs/python3-coverage/update