Date: Saturday, April 8, 2023 @ 12:26:24
  Author: felixonmars
Revision: 1442315

archrelease: copy trunk to community-staging-any

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

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

Copied: python-copr/repos/community-staging-any/PKGBUILD (from rev 1442314, 
python-copr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 12:26:24 UTC (rev 1442315)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-copr
+pkgver=1.123
+pkgrel=3
+pkgdesc="Python client for copr service"
+url="https://pagure.io/copr/copr";
+license=('GPL')
+arch=('any')
+depends=('python-marshmallow' 'python-requests' 'python-requests-toolbelt' 
'python-six' 'python-munch'
+         'python-future' 'python-filelock' 'python-requests-gssapi')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pagure.io/copr/copr/archive/python-copr-$pkgver-1/copr-python-copr-$pkgver-1.tar.gz";)
+sha512sums=('ecad765e83b5310616561bd5fc1ec956fb22667a71f6ade040970290843b0703e3559f15c76c9f0d4ea20db75e90b49ee7fce24a93c04fbe1ffa7dfa63edd346')
+
+build() {
+  cd copr-python-copr-$pkgver-1/python
+  python setup.py build
+}
+
+check() {
+  cd copr-python-copr-$pkgver-1/python
+  python -m pytest
+}
+
+package() {
+  cd copr-python-copr-$pkgver-1/python
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to