22 lines
625 B
Bash
22 lines
625 B
Bash
# Template file for 'python-urlnorm'
|
|
pkgname=python-urlnorm
|
|
version=1.1.4
|
|
revision=2
|
|
noarch=yes
|
|
wrksrc="urlnorm-${version}"
|
|
build_style=python2-module
|
|
pycompile_module="urlnorm"
|
|
hostmakedepends="python-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=3cde99b7ec8edb6768dfecbed5d97e9bd0c784b0593ee28a3f83b20419dcd75e
|
|
|
|
post_install() {
|
|
sed -n '/^__license__/,/^"""/{/"""$/d;p}' urlnorm.py > LICENSE
|
|
vlicense LICENSE
|
|
}
|