python-uritemplate: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 23:15:52 +07:00
parent 1b2d66bdc6
commit dee083c587
3 changed files with 18 additions and 28 deletions

View file

@ -1,27 +0,0 @@
# Template file for 'python-uritemplate'
pkgname=python-uritemplate
version=3.0.1
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 implementation of RFC6570 URI Template"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="Apache-2.0, BSD-3-Clause"
homepage="https://github.com/sigmavirus24/uritemplate"
distfiles="${PYPI_SITE}/u/uritemplate/uritemplate-${version}.tar.gz"
checksum=5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae
post_install() {
vlicense LICENSE
}
python3-uritemplate_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-uritemplate

View file

@ -0,0 +1,18 @@
# Template file for 'python3-uritemplate'
pkgname=python3-uritemplate
version=3.0.1
revision=3
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 implementation of RFC6570 URI Template"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="Apache-2.0, BSD-3-Clause"
homepage="https://github.com/sigmavirus24/uritemplate"
distfiles="${PYPI_SITE}/u/uritemplate/uritemplate-${version}.tar.gz"
checksum=5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae
post_install() {
vlicense LICENSE
}