void-packages/srcpkgs/python-urlnorm/template

23 lines
667 B
Bash
Raw Normal View History

2015-08-03 13:26:47 +00:00
# Template file for 'python-urlnorm'
pkgname=python-urlnorm
version=1.1.3
2015-08-03 13:54:53 +00:00
revision=2
2015-08-03 13:26:47 +00:00
noarch=yes
wrksrc="urlnorm-${version}"
build_style=python-module
2015-08-03 13:54:53 +00:00
python_versions="2.7"
2015-08-03 13:26:47 +00:00
pycompile_module="urlnorm"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
short_desc="Python2 module for normalizing URLs"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/jehiah/urlnorm"
distfiles="${PYPI_SITE}/u/urlnorm/urlnorm-${version}.tar.gz"
checksum=c9ea4ed056716df565ecbc34bc2b024970368a91e496009089cb54abea010059
post_install() {
2015-08-03 13:54:53 +00:00
sed -n '/^__license__/,/^"""/{/"""$/d;p}' urlnorm.py > LICENSE
2015-08-03 13:26:47 +00:00
vlicense LICENSE
}