[arch-commits] Commit in python-yarg/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 25 18:51:09 UTC 2019


    Date: Saturday, May 25, 2019 @ 18:51:08
  Author: felixonmars
Revision: 470770

archrelease: copy trunk to community-any

Added:
  python-yarg/repos/community-any/PKGBUILD
    (from rev 470769, python-yarg/trunk/PKGBUILD)
Deleted:
  python-yarg/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-25 18:50:57 UTC (rev 470769)
+++ PKGBUILD	2019-05-25 18:51:08 UTC (rev 470770)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-yarg
-pkgver=0.1.9
-pkgrel=1
-pkgdesc="A semi hard Cornish cheese, also queries PyPI (PyPI client)"
-url="https://github.com/kura/yarg"
-license=('MIT')
-arch=('any')
-depends=('python-requests')
-makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/kura/yarg/archive/$pkgver.tar.gz")
-sha512sums=('1083608b0c2f84d15c27af9c9fbaf802e9f770518fc2c46bd6ba07d2123d4ad0a9ac7673a14714e579664ffef44667a21d1bec6417d9075c315749175bcd8fd9')
-
-build() {
-  cd yarg-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd yarg-$pkgver
-  python runtests.py
-}
-
-package() {
-  cd yarg-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-yarg/repos/community-any/PKGBUILD (from rev 470769, python-yarg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-25 18:51:08 UTC (rev 470770)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yarg
+pkgver=0.1.9
+pkgrel=2
+pkgdesc="A semi hard Cornish cheese, also queries PyPI (PyPI client)"
+url="https://github.com/kura/yarg"
+license=('MIT')
+arch=('any')
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kura/yarg/archive/$pkgver.tar.gz")
+sha512sums=('1083608b0c2f84d15c27af9c9fbaf802e9f770518fc2c46bd6ba07d2123d4ad0a9ac7673a14714e579664ffef44667a21d1bec6417d9075c315749175bcd8fd9')
+
+build() {
+  cd yarg-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd yarg-$pkgver
+  python runtests.py
+}
+
+package() {
+  cd yarg-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+
+  mv "$pkgdir"/usr/lib/python3.7/site-packages/{,yarg/}tests
+}



More information about the arch-commits mailing list