Date: Saturday, April 8, 2023 @ 05:54:02
  Author: felixonmars
Revision: 1441851

archrelease: copy trunk to community-staging-any

Added:
  python-feedgenerator/repos/community-staging-any/
  python-feedgenerator/repos/community-staging-any/PKGBUILD
    (from rev 1441847, python-feedgenerator/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-feedgenerator/repos/community-staging-any/PKGBUILD (from rev 
1441847, python-feedgenerator/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 05:54:02 UTC (rev 1441851)
@@ -0,0 +1,31 @@
+# Maintainer: Jiachen Yang <[email protected]>
+# AUR Maintainer: Sam Stuewe <halosghost at archlinux dot info>
+# Contributor: Chaoswizard <[email protected]>
+_name=feedgenerator
+pkgname="python-${_name}"
+pkgver=1.9.2
+pkgrel=4
+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' 'python-nose')
+source=("https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz";)
+sha512sums=('3f9799a8008cf456635bacce87699c3fa00ac990ed675a92dbdccf898fd189c8908109a27bb393e9f25bda7f880c66c40fc3d1179d09e579be8125c70bf1b7a9')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python ./setup.py build
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python ./setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+
+check() {
+  cd "${_name}-${pkgver}"
+  nosetests
+}

Reply via email to