python-hoedown: update to 0.2.2

This commit is contained in:
Alessio Sergi 2015-11-30 23:42:51 +01:00
parent 628179a359
commit e1c39953e2

View file

@ -1,32 +1,29 @@
# Template file for 'python-hoedown'
pkgname=python-hoedown
version=0.2
revision=2
version=0.2.2
revision=1
wrksrc="hoedown-$version"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
python_versions="2.7 3.4"
short_desc="Python module for hoedown, a markdown parsing library (Python2)"
short_desc="Python2 binding for hoedown, a markdown parsing library"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="https://github.com/hhatto/python-hoedown"
license="MIT"
distfiles="${PYPI_SITE}/h/${pkgname#python-}/${pkgname#python-}-$version.tar.gz"
checksum=b3f3b4885a63c545805cbc2ecf72036649623b60b97dcdc46348293bc7bf0ed3
pre_install() {
mv build-3.4/scripts-3.4/hoedownpy{,3}
}
distfiles="${PYPI_SITE}/h/hoedown/hoedown-${version}.tar.gz"
checksum=caba2b393cf101a22a7090b1eadd5a199905c166a19f53b90c6bcd2a93f867fe
post_install() {
rm -f ${DESTDIR}/usr/bin/hoedownpy
vbin build-2.7/scripts-2.7/hoedownpy
vbin build-3.4/scripts-3.4/hoedownpy hoedownpy3.4
}
python3.4-hoedown_package() {
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove /usr/bin/hoedownpy3
vmove /usr/bin/hoedownpy3.4
vmove /usr/lib/python3.4
}
}