python-appdirs: drop package
This commit is contained in:
parent
3ec0a587f3
commit
88bd2587c3
3 changed files with 22 additions and 34 deletions
|
@ -1,33 +0,0 @@
|
||||||
# Template file for 'python-appdirs'
|
|
||||||
pkgname=python-appdirs
|
|
||||||
version=1.4.4
|
|
||||||
revision=1
|
|
||||||
archs=noarch
|
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python"
|
|
||||||
short_desc="Python2 module for determining appropriate platform-specific dirs"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="MIT"
|
|
||||||
homepage="https://github.com/ActiveState/appdirs/"
|
|
||||||
distfiles="${PYPI_SITE}/a/appdirs/appdirs-${version}.tar.gz"
|
|
||||||
checksum=7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python2 setup.py test
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-appdirs_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-appdirs
|
|
22
srcpkgs/python3-appdirs/template
Normal file
22
srcpkgs/python3-appdirs/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'python3-appdirs'
|
||||||
|
pkgname=python3-appdirs
|
||||||
|
version=1.4.4
|
||||||
|
revision=2
|
||||||
|
wrksrc="appdirs-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="Python3 module for determining appropriate platform-specific dirs"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/ActiveState/appdirs/"
|
||||||
|
distfiles="${PYPI_SITE}/a/appdirs/appdirs-${version}.tar.gz"
|
||||||
|
checksum=7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python2 setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
Loading…
Reference in a new issue