New package: python-webassets-0.10.1

This commit is contained in:
Eivind Uggedal 2015-08-03 14:28:29 +00:00
parent b996973fe9
commit 6943831a03
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Template file for 'python-webassets'
pkgname=python-webassets
version=0.10.1
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="webassets"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
short_desc="Media asset management for Python2"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="https://github.com/miracle2k/webassets/"
distfiles="${PYPI_SITE}/w/webassets/webassets-${version}.tar.gz"
checksum=2c59f2ddc0abe29afdc91bb535faf6ce3145a1aaf2c1cd8fefdb0296d8e6c9e2
post_install() {
vlicense LICENSE
}
python3.4-webassets_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="webassets"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}

1
srcpkgs/python3.4-webassets Symbolic link
View file

@ -0,0 +1 @@
python-webassets