From ac9c198d1bc3c7d0befde254cad5f616a0c78024 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 16 Jul 2017 03:59:14 +0000 Subject: python-pyrss2gen: initial inclusion. dep of flexget --- abs/core/python_modules/python-pyrss2gen/PKGBUILD | 35 ++++++++++++++++++++++ .../python_modules/python-pyrss2gen/__changelog | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 abs/core/python_modules/python-pyrss2gen/PKGBUILD create mode 100644 abs/core/python_modules/python-pyrss2gen/__changelog 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 +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 + -- cgit v0.12