python-envdir: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:39:43 +07:00
parent 49d8e4db76
commit 221a9ed6e9
3 changed files with 19 additions and 39 deletions

View File

@ -1,38 +0,0 @@
# Template file for 'python-envdir'
pkgname=python-envdir
version=1.0.1
revision=3
archs=noarch
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="envdir"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Python2 port of daemontools' envdir"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/jezdez/envdir"
distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz"
checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95
alternatives="
envdir:envdir:/usr/bin/envdir2
envdir:envshell:/usr/bin/envshell2"
post_install() {
vlicense LICENSE
}
python3-envdir_package() {
alternatives="
envdir:envdir:/usr/bin/envdir3
envdir:envshell:/usr/bin/envshell3"
archs=noarch
pycompile_module="envdir"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -1 +0,0 @@
python-envdir

View File

@ -0,0 +1,19 @@
# Template file for 'python3-envdir'
pkgname=python3-envdir
version=1.0.1
revision=4
wrksrc="envdir-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Python3 port of daemontools' envdir"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/jezdez/envdir"
distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz"
checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95
conflicts="python-envdir>=0"
post_install() {
vlicense LICENSE
}