2013-03-06 09:55:39 +01:00
|
|
|
# Template file for 'python-Pygments'
|
|
|
|
pkgname=python-Pygments
|
|
|
|
version=1.6
|
2014-06-06 10:56:23 +02:00
|
|
|
revision=2
|
2013-03-06 09:55:39 +01:00
|
|
|
wrksrc="Pygments-${version}"
|
|
|
|
build_style=python-module
|
2014-06-06 10:56:23 +02:00
|
|
|
hostmakedepends="python-distribute python3-distribute"
|
|
|
|
makedepends="python-devel python3-devel"
|
|
|
|
depends="python>=2.7"
|
|
|
|
python_versions="2.7 3.3"
|
2014-01-01 16:10:11 +01:00
|
|
|
noarch="yes"
|
|
|
|
pycompile_module="pygments"
|
2014-06-06 10:56:23 +02:00
|
|
|
short_desc="Python2 syntax highlighter"
|
2013-03-06 09:55:39 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://pygments.org/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://pypi.python.org/packages/source/P/Pygments/Pygments-${version}.tar.gz"
|
|
|
|
checksum=799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
|
2014-06-06 10:56:23 +02:00
|
|
|
|
|
|
|
python3-Pygments_package() {
|
|
|
|
noarch="yes"
|
|
|
|
depends="python3"
|
|
|
|
short_desc="${short_desc//Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove /usr/lib/python3.3
|
|
|
|
}
|
|
|
|
}
|