[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Wed Sep 16 18:53:33 UTC 2020


    Date: Wednesday, September 16, 2020 @ 18:53:33
  Author: felixonmars
Revision: 708186

addpkg: python-copr 1.105-1

Added:
  python-copr/
  python-copr/repos/
  python-copr/trunk/
  python-copr/trunk/PKGBUILD

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

Added: python-copr/trunk/PKGBUILD
===================================================================
--- python-copr/trunk/PKGBUILD	                        (rev 0)
+++ python-copr/trunk/PKGBUILD	2020-09-16 18:53:33 UTC (rev 708186)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-copr
+pkgver=1.105
+pkgrel=1
+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')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock')
+source=("https://pagure.io/copr/copr/archive/python-copr-$pkgver-1/copr-python-copr-$pkgver-1.tar.gz")
+sha512sums=('9f6fcf5cab351559440b971b487f45b41436b87221f957dc5954a13ee70157d3528d0e00f66c8c70ab16cad4f7331006fbf234be443eec8cfbf2d37c799a707b')
+
+build() {
+  cd copr-python-copr-$pkgver-1/python
+  python setup.py build
+}
+
+check() {
+  cd copr-python-copr-$pkgver-1/python
+  pytest
+}
+
+package() {
+  cd copr-python-copr-$pkgver-1/python
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list