python-urlnorm: remove 3.4 sub package
This commit is contained in:
parent
7ed7fbf081
commit
e7bc749058
2 changed files with 3 additions and 20 deletions
|
@ -1,14 +1,13 @@
|
|||
# Template file for 'python-urlnorm'
|
||||
pkgname=python-urlnorm
|
||||
version=1.1.3
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="urlnorm-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
python_versions="2.7"
|
||||
pycompile_module="urlnorm"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
depends="python"
|
||||
short_desc="Python2 module for normalizing URLs"
|
||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||
|
@ -17,22 +16,7 @@ homepage="https://github.com/jehiah/urlnorm"
|
|||
distfiles="${PYPI_SITE}/u/urlnorm/urlnorm-${version}.tar.gz"
|
||||
checksum=c9ea4ed056716df565ecbc34bc2b024970368a91e496009089cb54abea010059
|
||||
|
||||
pre_install() {
|
||||
sed -n '/^__license__/,/^"""/{/"""$/d;p}' urlnorm.py > LICENSE
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sed -n '/^__license__/,/^"""/{/"""$/d;p}' urlnorm.py > LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3.4-urlnorm_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="urlnorm"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
python-urlnorm
|
Loading…
Reference in a new issue