python-pyscss: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:05:05 +07:00
parent 28fe6826bb
commit cc7eb33a05
3 changed files with 21 additions and 39 deletions

View file

@ -1,38 +0,0 @@
# Template file for 'python-pyscss'
pkgname=python-pyscss
version=1.3.5
revision=7
wrksrc="pyScss-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools pcre-devel"
makedepends="pcre-devel python-devel python3-devel"
depends="python-setuptools python-six python-enum34 python-pathlib"
pycompile_module="scss"
short_desc="Scss compiler for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://github.com/Kronuz/pyScss"
license="MIT"
distfiles="${PYPI_SITE}/p/pyScss/pyScss-${version}.tar.gz"
checksum=14a25c33c221a66bb1f000a6a067f376528d3df2f9333cee9c95709a9280cdb0
alternatives="
pyscss:pyscss:/usr/bin/pyscss2
pyscss:less2scss:/usr/bin/less2scss2"
post_install() {
vlicense LICENSE
}
python3-pyscss_package() {
alternatives="
pyscss:pyscss:/usr/bin/pyscss3
pyscss:less2scss:/usr/bin/less2scss3"
pycompile_module="scss"
depends="python3-setuptools python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-pyscss

View file

@ -0,0 +1,21 @@
# Template file for 'python3-pyscss'
pkgname=python3-pyscss
version=1.3.5
revision=7
wrksrc="pyScss-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools pcre-devel"
makedepends="pcre-devel python3-devel"
depends="python3-setuptools python3-six"
short_desc="Scss compiler for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://github.com/Kronuz/pyScss"
distfiles="${PYPI_SITE}/p/pyScss/pyScss-${version}.tar.gz"
checksum=14a25c33c221a66bb1f000a6a067f376528d3df2f9333cee9c95709a9280cdb0
conflicts="python-pyscss>=0"
post_install() {
vlicense LICENSE
}