mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
python-Pygments: added 3.4 subpkg with pycompile support.
This commit is contained in:
parent
95ed3f302f
commit
572f68a1bb
2 changed files with 10 additions and 8 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'python-Pygments'
|
# Template file for 'python-Pygments'
|
||||||
pkgname=python-Pygments
|
pkgname=python-Pygments
|
||||||
version=1.6
|
version=1.6
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="Pygments-${version}"
|
wrksrc="Pygments-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-distribute python3-distribute"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
makedepends="python-devel python3-devel"
|
makedepends="python-devel python3.4-devel"
|
||||||
depends="python>=2.7"
|
depends="python>=2.7"
|
||||||
python_versions="2.7 3.3"
|
python_versions="2.7 3.4"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
pycompile_module="pygments"
|
pycompile_module="pygments"
|
||||||
short_desc="Python2 syntax highlighter"
|
short_desc="Python2 syntax highlighter"
|
||||||
|
@ -17,11 +17,13 @@ license="BSD"
|
||||||
distfiles="http://pypi.python.org/packages/source/P/Pygments/Pygments-${version}.tar.gz"
|
distfiles="http://pypi.python.org/packages/source/P/Pygments/Pygments-${version}.tar.gz"
|
||||||
checksum=799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
|
checksum=799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
|
||||||
|
|
||||||
python3-Pygments_package() {
|
python3.4-Pygments_package() {
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
depends="python3"
|
depends="python3.4"
|
||||||
short_desc="${short_desc//Python2/Python3}"
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="pygments"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove /usr/lib/python3.3
|
vmove /usr/lib/python3.4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue