mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python-uritemplate: update to 3.0.0
Upstream moved to https://github.com/sigmavirus24/uritemplate. Now dual licensed Apache-2.0 and BSD.
This commit is contained in:
parent
9e7296f091
commit
aee81609ca
1 changed files with 10 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-uritemplate'
|
# Template file for 'python-uritemplate'
|
||||||
pkgname=python-uritemplate
|
pkgname=python-uritemplate
|
||||||
version=0.6
|
version=3.0.0
|
||||||
revision=2
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -10,10 +10,14 @@ hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Python2 implementation of RFC6570 URI Template"
|
short_desc="Python2 implementation of RFC6570 URI Template"
|
||||||
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0, 3-clause-BSD"
|
||||||
homepage="https://github.com/uri-templates/uritemplate-py/"
|
homepage="https://github.com/sigmavirus24/uritemplate"
|
||||||
distfiles="${PYPI_SITE}/u/uritemplate/uritemplate-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/u/uritemplate/uritemplate-${version}.tar.gz"
|
||||||
checksum=a30e230aeb7ebedbcb5da9999a17fa8a30e512e6d5b06f73d47c6e03c8e357fd
|
checksum=c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-uritemplate_package() {
|
python3-uritemplate_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
@ -23,6 +27,7 @@ python3-uritemplate_package() {
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
python3.4-uritemplate_package() {
|
python3.4-uritemplate_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue