mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
python-apsw: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
ed50743d98
commit
c019f234b4
2 changed files with 13 additions and 7 deletions
|
@ -3,12 +3,11 @@ pkgname=python-apsw
|
||||||
_distver=3.14.1
|
_distver=3.14.1
|
||||||
_patchver=r1
|
_patchver=r1
|
||||||
version=${_distver}${_patchver}
|
version=${_distver}${_patchver}
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="apsw-${_distver}-${_patchver}"
|
wrksrc="apsw-${_distver}-${_patchver}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-devel python3-devel"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
makedepends="python-devel python3-devel sqlite-devel"
|
||||||
makedepends="python-devel python3.4-devel sqlite-devel"
|
|
||||||
short_desc="Another Python SQLite Wrapper (Python2)"
|
short_desc="Another Python SQLite Wrapper (Python2)"
|
||||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -20,10 +19,16 @@ post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-apsw_package() {
|
python3-apsw_package() {
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-apsw>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-apsw_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-apsw>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-apsw
Symbolic link
1
srcpkgs/python3-apsw
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-apsw
|
Loading…
Add table
Reference in a new issue