python-urbandict: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 14:59:35 +07:00
parent c47c8fec54
commit c7d3cbbcd3
3 changed files with 15 additions and 29 deletions

View file

@ -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 <benalb@gmail.com>"
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
}
}

View file

@ -1 +0,0 @@
python-urbandict

View file

@ -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 <benalb@gmail.com>"
license="Unlicense"
homepage="https://github.com/novel/py-urbandict"
distfiles="${PYPI_SITE}/u/urbandict/urbandict-${version}.tar.gz"
checksum=a19685ffa2450bea2df9bf328a6ce7c3c1e2213c95171ae2263b987cc54d201b
conflicts="python-urbandict>=0"