python-Pygments: update to 2.0

This commit is contained in:
Alessio Sergi 2014-11-10 13:30:00 +01:00
parent 838857dfe6
commit e8767f04ef

View file

@ -1,13 +1,11 @@
# Template file for 'python-Pygments'
pkgname=python-Pygments
version=1.6
revision=4
version=2.0
revision=1
noarch=yes
wrksrc="Pygments-${version}"
python_versions="2.7 3.4"
build_style=python-module
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python"
pycompile_module="pygments"
short_desc="Python2 syntax highlighter"
@ -15,8 +13,8 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pygments.org/"
license="BSD"
update_ignore="*rc*"
distfiles="http://pypi.python.org/packages/source/P/Pygments/Pygments-${version}.tar.gz"
checksum=799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
distfiles="${PYPI_SITE}/P/Pygments/Pygments-${version}.tar.gz"
checksum=4de23e88eeb7570e0425270d1013deff6343d78776dd38aeaf26c98ec3552421
post_extract() {
cp -a ${wrksrc} /tmp/python2.7-build
@ -46,7 +44,7 @@ do_install() {
}
python3.4-Pygments_package() {
noarch="yes"
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="pygments"