From 9ef25bcc78c877566896886167bac30ff4ffda0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 22:18:46 +0700 Subject: [PATCH] python-isort: drop package --- srcpkgs/python-isort/template | 42 ---------------------------------- srcpkgs/python3-isort | 1 - srcpkgs/python3-isort/template | 25 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 43 deletions(-) delete mode 100644 srcpkgs/python-isort/template delete mode 120000 srcpkgs/python3-isort create mode 100644 srcpkgs/python3-isort/template diff --git a/srcpkgs/python-isort/template b/srcpkgs/python-isort/template deleted file mode 100644 index cd8e43b69ea..00000000000 --- a/srcpkgs/python-isort/template +++ /dev/null @@ -1,42 +0,0 @@ -# Template file for 'python-isort' -pkgname=python-isort -version=4.3.21 -revision=2 -archs=noarch -wrksrc="isort-${version}" -build_style=python-module -pycompile_module="isort" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools python-futures" -checkdepends="python-pytest python3-pytest - python-backports.functools_lru_cache" -short_desc="Python2 utility/library to sort imports" -maintainer="Alessio Sergi " -license="MIT" -homepage="https://github.com/timothycrosley/isort" -changelog="https://raw.githubusercontent.com/timothycrosley/isort/master/CHANGELOG.md" -distfiles="${PYPI_SITE}/i/isort/isort-${version}.tar.gz" -checksum=54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1 -alternatives="isort:isort:/usr/bin/isort2" - -do_check() { - pytest test_isort.py - pytest3 test_isort.py -} - -post_install() { - vlicense LICENSE -} - -python3-isort_package() { - archs=noarch - pycompile_module="isort" - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - alternatives="isort:isort:/usr/bin/isort3" - pkg_install() { - vmove usr/bin/isort3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-isort b/srcpkgs/python3-isort deleted file mode 120000 index 7b803ff7bfe..00000000000 --- a/srcpkgs/python3-isort +++ /dev/null @@ -1 +0,0 @@ -python-isort \ No newline at end of file diff --git a/srcpkgs/python3-isort/template b/srcpkgs/python3-isort/template new file mode 100644 index 00000000000..801bef84afb --- /dev/null +++ b/srcpkgs/python3-isort/template @@ -0,0 +1,25 @@ +# Template file for 'python3-isort' +pkgname=python3-isort +version=4.3.21 +revision=3 +wrksrc="isort-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +checkdepends="python3-pytest" +short_desc="Python3 utility/library to sort imports" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/timothycrosley/isort" +changelog="https://raw.githubusercontent.com/timothycrosley/isort/master/CHANGELOG.md" +distfiles="${PYPI_SITE}/i/isort/isort-${version}.tar.gz" +checksum=54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1 +conflicts="python-isort>=0" + +do_check() { + pytest3 test_isort.py +} + +post_install() { + vlicense LICENSE +}