Merge pull request #430 from asergi/master
python-Pygments: build python3 module too
This commit is contained in:
commit
239b25111d
2 changed files with 16 additions and 4 deletions
|
@ -1,16 +1,27 @@
|
||||||
# Template file for 'python-Pygments'
|
# Template file for 'python-Pygments'
|
||||||
pkgname=python-Pygments
|
pkgname=python-Pygments
|
||||||
version=1.6
|
version=1.6
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="Pygments-${version}"
|
wrksrc="Pygments-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
makedepends="python-devel python-distribute"
|
hostmakedepends="python-distribute python3-distribute"
|
||||||
|
makedepends="python-devel python3-devel"
|
||||||
|
depends="python>=2.7"
|
||||||
|
python_versions="2.7 3.3"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
pycompile_module="pygments"
|
pycompile_module="pygments"
|
||||||
depends="python>=2.7 python-distribute"
|
short_desc="Python2 syntax highlighter"
|
||||||
short_desc="Python syntax highlighter"
|
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://pygments.org/"
|
homepage="http://pygments.org/"
|
||||||
license="BSD"
|
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() {
|
||||||
|
noarch="yes"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="${short_desc//Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove /usr/lib/python3.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-Pygments
Symbolic link
1
srcpkgs/python3-Pygments
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-Pygments
|
Loading…
Add table
Add a link
Reference in a new issue