python-future: drop package
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
# Template file for 'python-future'
|
||||
pkgname=python-future
|
||||
version=0.18.2
|
||||
revision=2
|
||||
wrksrc="future-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools"
|
||||
short_desc="Clean single-source support for Python 3 and 2 (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://python-future.org/"
|
||||
distfiles="${PYPI_SITE}/f/future/future-${version}.tar.gz"
|
||||
checksum=b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d
|
||||
|
||||
alternatives="
|
||||
future:futurize:/usr/bin/futurize2
|
||||
future:pasteurize:/usr/bin/pasteurize2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
python3-future_package() {
|
||||
alternatives="
|
||||
future:futurize:/usr/bin/futurize3
|
||||
future:pasteurize:/usr/bin/pasteurize3"
|
||||
depends="python3-setuptools"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
python-future
|
||||
20
srcpkgs/python3-future/template
Normal file
20
srcpkgs/python3-future/template
Normal file
@@ -0,0 +1,20 @@
|
||||
# Template file for 'python3-future'
|
||||
pkgname=python3-future
|
||||
version=0.18.2
|
||||
revision=3
|
||||
wrksrc="future-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools"
|
||||
short_desc="Clean single-source support for Python 3 and 2 (Python3)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://python-future.org/"
|
||||
distfiles="${PYPI_SITE}/f/future/future-${version}.tar.gz"
|
||||
checksum=b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d
|
||||
|
||||
conflicts="python-future>=0"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
Reference in New Issue
Block a user