[arch-commits] Commit in (4 files)
David Runge
dvzrv at archlinux.org
Sun Sep 2 22:15:00 UTC 2018
Date: Sunday, September 2, 2018 @ 22:15:00
Author: dvzrv
Revision: 376124
Adding python-pyrss2gen as dependency for nikola.
Added:
python-pyrss2gen/
python-pyrss2gen/repos/
python-pyrss2gen/trunk/
python-pyrss2gen/trunk/PKGBUILD
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Added: python-pyrss2gen/trunk/PKGBUILD
===================================================================
--- python-pyrss2gen/trunk/PKGBUILD (rev 0)
+++ python-pyrss2gen/trunk/PKGBUILD 2018-09-02 22:15:00 UTC (rev 376124)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=PyRSS2Gen
+pkgname=python-pyrss2gen
+pkgver=1.1
+pkgrel=7
+pkgdesc="Generate RSS2 using a Python data structure"
+arch=('any')
+url="http://www.dalkescientific.com/Python/PyRSS2Gen.html"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+# pypi source doesn't contain LICENSE
+#source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=("http://www.dalkescientific.com/Python/${_name}-${pkgver}.tar.gz")
+noextract=()
+sha512sums=('2240686914c87984626eb739676927fcd53488158bdebf589e07e8a778e6d24305964e032581c61836f0fabc1264e42d05c88eac8f4c5f6536c31c775434ce02')
+
+prepare() {
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
Property changes on: python-pyrss2gen/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list