36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'python-pyscss'
|
|
pkgname=python-pyscss
|
|
version=1.3.4
|
|
revision=3
|
|
wrksrc="pyScss-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools pcre-devel"
|
|
makedepends="pcre-devel python-devel python3.4-devel"
|
|
depends="python-setuptools python-six python-enum34 python-pathlib"
|
|
pycompile_module="scss"
|
|
short_desc="Scss compiler for Python2"
|
|
maintainer="Steven R <dev@styez.com>"
|
|
homepage="http://github.com/Kronuz/pyScss"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/p/pyScss/pyScss-${version}.tar.gz"
|
|
checksum=d0323110ecc7d3ead6b99cfec31301306928130e4d0a9eb13226bf390aba8c0e
|
|
alternatives="pyscss:pyscss:/usr/bin/pyscss2.7"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-pyscss_package() {
|
|
depends="python-setuptools python3.4-six"
|
|
pycompile_version="3.4"
|
|
pycompile_module="scss"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
alternatives="pyscss:pyscss:/usr/bin/pyscss3.4"
|
|
pkg_install() {
|
|
vmove usr/bin/pyscss3.4
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|