python-incremental: split python3-incremental
This commit is contained in:
parent
88d5140575
commit
a3363dbb8e
|
@ -2,8 +2,8 @@
|
|||
pkgname=python-incremental
|
||||
version=21.3.0
|
||||
revision=2
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
build_style=python2-module
|
||||
hostmakedepends="python-setuptools"
|
||||
depends="python"
|
||||
short_desc="Small library that versions your Python projects (Python2)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
@ -16,12 +16,3 @@ checksum=02f5de5aff48f6b9f665d99d48bfc7ec03b6e3943210de7cfc88856d755d6f57
|
|||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-incremental_package() {
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
python-incremental
|
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'python3-incremental'
|
||||
pkgname=python3-incremental
|
||||
version=21.3.0
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest python3-Twisted python3-click"
|
||||
short_desc="Small library that versions your Python projects (Python3)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/twisted/incremental"
|
||||
changelog="https://raw.githubusercontent.com/twisted/incremental/trunk/NEWS.rst"
|
||||
distfiles="${PYPI_SITE}/i/incremental/incremental-${version}.tar.gz"
|
||||
checksum=02f5de5aff48f6b9f665d99d48bfc7ec03b6e3943210de7cfc88856d755d6f57
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in New Issue