diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-07-16 03:59:14 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-07-16 03:59:14 (GMT) |
commit | ac9c198d1bc3c7d0befde254cad5f616a0c78024 (patch) | |
tree | ecaacc115be149271f463360b1a13fc0874479d3 /abs/core | |
parent | 8867ef8e04e46697e7192c91d7425f73438ea90b (diff) | |
download | linhes_pkgbuild-ac9c198d1bc3c7d0befde254cad5f616a0c78024.zip linhes_pkgbuild-ac9c198d1bc3c7d0befde254cad5f616a0c78024.tar.gz linhes_pkgbuild-ac9c198d1bc3c7d0befde254cad5f616a0c78024.tar.bz2 |
python-pyrss2gen: initial inclusion. dep of flexget
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/python_modules/python-pyrss2gen/PKGBUILD | 35 | ||||
-rw-r--r-- | abs/core/python_modules/python-pyrss2gen/__changelog | 2 |
2 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-pyrss2gen/PKGBUILD b/abs/core/python_modules/python-pyrss2gen/PKGBUILD new file mode 100644 index 0000000..69258ca --- /dev/null +++ b/abs/core/python_modules/python-pyrss2gen/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Chris Warrick <aur@chriswarrick.com> +pkgbase=python-pyrss2gen +pkgname=('python2-pyrss2gen') +_pyname=PyRSS2Gen +pkgver=1.1 +pkgrel=6 +pkgdesc='A Python library for generating RSS 2.0 feeds.' +arch=('any') +url="http://www.dalkescientific.com/Python/PyRSS2Gen.html" +license=('BSD') +makedepends=('python2' 'python2-setuptools') +options=(!emptydirs) +source=("http://www.dalkescientific.com/Python/${_pyname}-${pkgver}.tar.gz") +md5sums=("c56b9453d52b0a70be4f3e95112058aa") +provides=('pyrss2gen') + +prepare() { + cd "${srcdir}/${_pyname}-${pkgver}" + cp -r "${srcdir}/${_pyname}-${pkgver}" "${srcdir}/${_pyname}-${pkgver}-py2" +} + +package_python-pyrss2gen() { + depends=('python' 'python-setuptools') + cd "${srcdir}/${_pyname}-${pkgver}" + python3 setup.py install --root="${pkgdir}/" --optimize=1 + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE" +} + +package_python2-pyrss2gen() { + depends=('python2' 'python2-setuptools') + cd "${srcdir}/${_pyname}-${pkgver}-py2" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/core/python_modules/python-pyrss2gen/__changelog b/abs/core/python_modules/python-pyrss2gen/__changelog new file mode 100644 index 0000000..4f818ef --- /dev/null +++ b/abs/core/python_modules/python-pyrss2gen/__changelog @@ -0,0 +1,2 @@ +PKGBUILD: don't build py 3 stuff + |