python-webassets: update to 0.12.0
This commit is contained in:
parent
9c1e113b47
commit
a564cdd80c
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-webassets'
|
||||
pkgname=python-webassets
|
||||
version=0.11.1
|
||||
version=0.12.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
|
@ -8,13 +8,14 @@ build_style=python-module
|
|||
python_versions="2.7 3.4"
|
||||
pycompile_module="webassets"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
depends="python"
|
||||
depends="python-setuptools"
|
||||
short_desc="Media asset management for Python2"
|
||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||
license="BSD"
|
||||
license="2-clause-BSD"
|
||||
homepage="https://github.com/miracle2k/webassets/"
|
||||
distfiles="${PYPI_SITE}/w/webassets/webassets-${version}.tar.gz"
|
||||
checksum=9f964ce47e99d15cf9228b07417233b6f865d71ab053cf6e446825bcd8f5385c
|
||||
checksum=99d10b11f342cf2692ad3451f121c5302acee8144df32005c6f1305d541fa192
|
||||
alternatives="webassets:webassets:/usr/bin/webassets2.7"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
@ -22,11 +23,13 @@ post_install() {
|
|||
|
||||
python3.4-webassets_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
depends="python3.4-setuptools"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="webassets"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
alternatives="webassets:webassets:/usr/bin/webassets3.4"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3.4
|
||||
vmove usr/lib/python3.4
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue