From c7d3cbbcd3957c5ae3b9b9c52ea3c58f1e2c906c 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 14:59:35 +0700 Subject: [PATCH] python-urbandict: drop package --- srcpkgs/python-urbandict/template | 28 ---------------------------- srcpkgs/python3-urbandict | 1 - srcpkgs/python3-urbandict/template | 15 +++++++++++++++ 3 files changed, 15 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/python-urbandict/template delete mode 120000 srcpkgs/python3-urbandict create mode 100644 srcpkgs/python3-urbandict/template diff --git a/srcpkgs/python-urbandict/template b/srcpkgs/python-urbandict/template deleted file mode 100644 index 0808a11e98..0000000000 --- a/srcpkgs/python-urbandict/template +++ /dev/null @@ -1,28 +0,0 @@ -# Template file for 'python-urbandict' -pkgname=python-urbandict -version=0.6.1 -revision=1 -archs=noarch -wrksrc="urbandict-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="CLI client and a library for urbandictionary.com" -maintainer="Benjamín Albiñana " -license="Unlicense" -homepage="https://github.com/novel/py-urbandict" -distfiles="${PYPI_SITE}/u/urbandict/urbandict-${version}.tar.gz" -checksum=a19685ffa2450bea2df9bf328a6ce7c3c1e2213c95171ae2263b987cc54d201b -alternatives="urbandicli:urbandicli:/usr/bin/urbandicli2" - -python3-urbandict_package() { - archs=noarch - alternatives="urbandicli:urbandicli:/usr/bin/urbandicli3" - short_desc="${short_desc/Python2/Python3}" - depends="python3" - pkg_install() { - vmove usr/bin/urbandicli3 - vmove usr/lib/python3* - vlicense COPYING - } -} diff --git a/srcpkgs/python3-urbandict b/srcpkgs/python3-urbandict deleted file mode 120000 index 2e2497cdc4..0000000000 --- a/srcpkgs/python3-urbandict +++ /dev/null @@ -1 +0,0 @@ -python-urbandict \ No newline at end of file diff --git a/srcpkgs/python3-urbandict/template b/srcpkgs/python3-urbandict/template new file mode 100644 index 0000000000..c059d78dd0 --- /dev/null +++ b/srcpkgs/python3-urbandict/template @@ -0,0 +1,15 @@ +# Template file for 'python3-urbandict' +pkgname=python3-urbandict +version=0.6.1 +revision=2 +wrksrc="urbandict-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="CLI client and a library for urbandictionary.com" +maintainer="Benjamín Albiñana " +license="Unlicense" +homepage="https://github.com/novel/py-urbandict" +distfiles="${PYPI_SITE}/u/urbandict/urbandict-${version}.tar.gz" +checksum=a19685ffa2450bea2df9bf328a6ce7c3c1e2213c95171ae2263b987cc54d201b +conflicts="python-urbandict>=0"