[arch-commits] Commit in python-feedgenerator/trunk (PKGBUILD)

Jiachen Yang farseerfc at archlinux.org
Thu Mar 12 05:31:40 UTC 2020


    Date: Thursday, March 12, 2020 @ 05:31:40
  Author: farseerfc
Revision: 595068

upgpkg: python-feedgenerator 1.9.1-1: python-feedgenerator 1.9.1

Modified:
  python-feedgenerator/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-12 04:53:34 UTC (rev 595067)
+++ PKGBUILD	2020-03-12 05:31:40 UTC (rev 595068)
@@ -3,18 +3,30 @@
 # Contributor: Chaoswizard <chaoswizard at gmail.com>
 _name=feedgenerator
 pkgname="python-${_name}"
-pkgver=1.9
-pkgrel=6
+pkgver=1.9.1
+pkgrel=1
 pkgdesc="Standalone version of django.utils.feedgenerator (python3)."
 url="https://pypi.org/project/feedgenerator/"
 arch=('any')
 license=('GPL')
 depends=('python' 'python-pytz' 'python-six')
-makedepends=('python-distribute')
-source=("https://pypi.python.org/packages/eb/02/7069b3dbc6ea92f034e07f9f9adc2193cd02d1aedf2cf9ec71150102a964/${_name}-${pkgver}.tar.gz")
-sha512sums=('77f4df51c6bdf261f0d1665206ab048a21f8660cf8f2c7abf3d71e17c63284240d0eaa690dd6d53b0b7d8ce9c9e0349094d5270c75c2a069608b7717538d7fa1')
+makedepends=('python-distribute' 'python-nose')
+source=("https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
+sha512sums=('db3642acb8f0c9fd692f37a79cf5862e60687a1745afbc6593d37a0372adb994de603238a17a8eae95ffcc993195f63037f16122a3cf8771e6922dea492fb5d5')
 
+build() {
+  cd "${_name}-${pkgver}"
+  python ./setup.py build
+}
+
 package() {
   cd "${_name}-${pkgver}"
-  python ./setup.py install --root="${pkgdir}" --optimize=1
+  python ./setup.py install --root="${pkgdir}" --optimize=1 --skip-build
 }
+
+
+check() {
+  cd "${_name}-${pkgver}"
+  nosetests
+}
+



More information about the arch-commits mailing list