From 035265c1b5da7d2e0176172c94601d6f867f53d6 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 23:03:51 +0700 Subject: [PATCH] python-codespell: drop package --- srcpkgs/python-codespell/template | 29 ----------------------------- srcpkgs/python3-codespell | 1 - srcpkgs/python3-codespell/template | 15 +++++++++++++++ 3 files changed, 15 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/python-codespell/template delete mode 120000 srcpkgs/python3-codespell create mode 100644 srcpkgs/python3-codespell/template diff --git a/srcpkgs/python-codespell/template b/srcpkgs/python-codespell/template deleted file mode 100644 index 9ae2e19435c..00000000000 --- a/srcpkgs/python-codespell/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'python-codespell' -pkgname=python-codespell -version=1.16.0 -revision=2 -archs=noarch -wrksrc="codespell-${version}" -build_style=python-module -pycompile_module="codespell_lib" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -short_desc="Checks code for common spelling mistakes (Python2)" -maintainer="Nathan " -license="GPL-2.0-or-later" -homepage="https://github.com/codespell-project/codespell" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=53d22aefa1daf3365ca4625877271d23d143c0a92c16e55daf5cd14b6494b8f4 -alternatives="python-codespell:codespell:/usr/bin/codespell2" - -python3-codespell_package() { - archs=noarch - depends="python3-setuptools" - pycompile_module="codespell_lib" - short_desc="${short_desc/Python2/Python3}" - alternatives="python-codespell:codespell:/usr/bin/codespell3" - pkg_install() { - vmove "usr/lib/python3*" - vmove usr/bin/codespell3 - } -} diff --git a/srcpkgs/python3-codespell b/srcpkgs/python3-codespell deleted file mode 120000 index 2784e18e19a..00000000000 --- a/srcpkgs/python3-codespell +++ /dev/null @@ -1 +0,0 @@ -python-codespell \ No newline at end of file diff --git a/srcpkgs/python3-codespell/template b/srcpkgs/python3-codespell/template new file mode 100644 index 00000000000..04e342d5e5c --- /dev/null +++ b/srcpkgs/python3-codespell/template @@ -0,0 +1,15 @@ +# Template file for 'python3-codespell' +pkgname=python3-codespell +version=1.16.0 +revision=3 +wrksrc="codespell-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="Checks code for common spelling mistakes (Python3)" +maintainer="Orphaned " +license="GPL-2.0-or-later" +homepage="https://github.com/codespell-project/codespell" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=53d22aefa1daf3365ca4625877271d23d143c0a92c16e55daf5cd14b6494b8f4 +conflicts="python-codespell>=0"