New package: python-hoedown-0.2
This commit is contained in:
parent
65a5257488
commit
f723ac4fca
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-hoedown/template
Normal file
32
srcpkgs/python-hoedown/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'python-hoedown'
|
||||||
|
pkgname=python-hoedown
|
||||||
|
version=0.2
|
||||||
|
revision=1
|
||||||
|
wrksrc="hoedown-$version"
|
||||||
|
build_style=python-module
|
||||||
|
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)"
|
||||||
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
|
homepage="https://github.com/hhatto/python-hoedown"
|
||||||
|
license="MIT"
|
||||||
|
distfiles="http://pypi.python.org/packages/source/${pkgname:7:1}/${pkgname#python-}/${pkgname#python-}-$version.tar.gz"
|
||||||
|
checksum=b3f3b4885a63c545805cbc2ecf72036649623b60b97dcdc46348293bc7bf0ed3
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
mv build-3.4/scripts-3.4/hoedownpy{,3}
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -f ${DESTDIR}/usr/bin/hoedownpy
|
||||||
|
vbin build-2.7/scripts-2.7/hoedownpy
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-hoedown_package() {
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove /usr/bin/hoedownpy3
|
||||||
|
vmove /usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-hoedown
Symbolic link
1
srcpkgs/python3.4-hoedown
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-hoedown
|
Loading…
Reference in a new issue