mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
added community/python-setuptools-markdown
This commit is contained in:
parent
00d117d493
commit
f6dccc89a3
1 changed files with 43 additions and 0 deletions
43
community/python-setuptools-markdown/PKGBUILD
Normal file
43
community/python-setuptools-markdown/PKGBUILD
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
# $Id$
|
||||||
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||||
|
|
||||||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
# - removed makedepends on python-pypandoc and python2-pypandoc
|
||||||
|
|
||||||
|
pkgbase=python-setuptools-markdown
|
||||||
|
pkgname=(python-setuptools-markdown python2-setuptools-markdown)
|
||||||
|
pkgver=0.2
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="Use Markdown for your project description"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/msabramo/setuptools-markdown"
|
||||||
|
license=('MIT')
|
||||||
|
makedepends=('python-setuptools' 'python2-setuptools' 'git')
|
||||||
|
source=("git+https://github.com/msabramo/setuptools-markdown.git#commit=$_commit")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cp -a setuptools-markdown{,-py2}
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/setuptools-markdown"
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
cd "${srcdir}/setuptools-markdown-py2"
|
||||||
|
python2 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python-setuptools-markdown() {
|
||||||
|
depends=('python-setuptools' 'python-pypandoc')
|
||||||
|
|
||||||
|
cd "${srcdir}/setuptools-markdown"
|
||||||
|
python setup.py install --root "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python2-setuptools-markdown() {
|
||||||
|
depends=('python2-setuptools' 'python2-pypandoc')
|
||||||
|
|
||||||
|
cd "${srcdir}/setuptools-markdown-py2"
|
||||||
|
python2 setup.py install --root "$pkgdir"
|
||||||
|
}
|
Loading…
Reference in a new issue