Date: Thursday, April 6, 2023 @ 13:59:58
Author: felixonmars
Revision: 1439098
archrelease: copy trunk to community-staging-any
Added:
python-podcastparser/repos/community-staging-any/
python-podcastparser/repos/community-staging-any/PKGBUILD
(from rev 1439096, python-podcastparser/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-podcastparser/repos/community-staging-any/PKGBUILD (from rev
1439096, python-podcastparser/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 13:59:58 UTC (rev 1439098)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jan Magnus Brevik <[email protected]>
+
+_pkgname=podcastparser
+pkgname=python-podcastparser
+pkgver=0.6.8
+pkgrel=2
+pkgdesc='Simplified, fast RSS parsing library in Python'
+arch=('any')
+url='https://github.com/gpodder/podcastparser'
+license=('ISC')
+depends=('python')
+checkdepends=('python-pytest-cov')
+source=("https://github.com/gpodder/$_pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('2d8b37931457fd47d22beb5e9d22c2b71f37ea36472a51031748923e5af08ec2')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ pytest
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}