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

Felix Yan felixonmars at archlinux.org
Fri Jul 5 18:06:12 UTC 2019


    Date: Friday, July 5, 2019 @ 18:06:12
  Author: felixonmars
Revision: 487488

archrelease: copy trunk to community-any

Added:
  pius/repos/community-any/PKGBUILD
    (from rev 487487, pius/trunk/PKGBUILD)
Deleted:
  pius/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-05 18:05:32 UTC (rev 487487)
+++ PKGBUILD	2019-07-05 18:06:12 UTC (rev 487488)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=pius
-pkgver=2.2.7
-pkgrel=1
-pkgdesc="PGP Individual User Signer"
-arch=('any')
-url="http://www.phildev.net/pius/"
-license=('GPL')
-depends=('python-six')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jaymzh/pius/archive/v$pkgver.tar.gz")
-sha512sums=('079fe93592383d0974a8d583772087d3ac0544dce92d4cbb0b4fd5169bd8e26bac71729f9ef989bbdea2911ba11a60eef48e274864f6601e53aba6b887f79978')
-
-build() {
-  cd pius-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pius-$pkgver
-  ./run_tests
-}
-
-package() {
-  cd pius-$pkgver
-  python setup.py install -O1 --prefix=/usr --root="$pkgdir"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pius/repos/community-any/PKGBUILD (from rev 487487, pius/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-05 18:06:12 UTC (rev 487488)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pius
+pkgver=2.2.7
+pkgrel=2
+pkgdesc="PGP Individual User Signer"
+arch=('any')
+url="https://www.phildev.net/pius/"
+license=('GPL')
+depends=('python2-six')
+checkdepends=('python2-backports.unittest_mock' 'python2-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jaymzh/pius/archive/v$pkgver.tar.gz"
+        shebang.patch::https://github.com/jaymzh/pius/commit/f5f0d7ec21e784c6c876dfdaf82afbb10cd973cb.patch)
+sha512sums=('079fe93592383d0974a8d583772087d3ac0544dce92d4cbb0b4fd5169bd8e26bac71729f9ef989bbdea2911ba11a60eef48e274864f6601e53aba6b887f79978'
+            '0e2fc3609f9ed3e56b6d9a630626724c7eb76db241426e90ab69bd84db8a67eac9408363c3a8b57e6bcb054536ef0f08b380f2aa693f4cdc8c7e761f09083c7c')
+
+prepare() {
+  cd pius-$pkgver
+  patch -p1 -i ../shebang.patch
+}
+
+build() {
+  cd pius-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd pius-$pkgver
+  python2 -m pytest
+}
+
+package() {
+  cd pius-$pkgver
+  python2 setup.py install -O1 --prefix=/usr --root="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list