New package: python-hyperlink-17.2.1
This commit is contained in:
parent
edcda4737c
commit
a98d0c544c
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-hyperlink/template
Normal file
32
srcpkgs/python-hyperlink/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'python-hyperlink'
|
||||||
|
pkgname=python-hyperlink
|
||||||
|
version=17.2.1
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="hyperlink-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="hyperlink"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Pure-Python implementation of immutable URLs (Python2)"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://github.com/python-hyper/hyperlink"
|
||||||
|
license="MIT"
|
||||||
|
distfiles="https://github.com/python-hyper/hyperlink/archive/v${version}.tar.gz"
|
||||||
|
checksum=710b5b8156a0d8d8dcb4c905aacb63f048ea49acfdd36196afaa0d4e1415092c
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-hyperlink_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="hyperlink"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-hyperlink
Symbolic link
1
srcpkgs/python3-hyperlink
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-hyperlink
|
Loading…
Reference in a new issue