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

Chih-Hsuan Yen yan12125 at archlinux.org
Tue Feb 2 12:26:50 UTC 2021


    Date: Tuesday, February 2, 2021 @ 12:26:50
  Author: yan12125
Revision: 841029

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-02 12:26:34 UTC (rev 841028)
+++ PKGBUILD	2021-02-02 12:26:50 UTC (rev 841029)
@@ -1,31 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-# Contributor: Drew DeVault <sir at cmpwn.com>
-
-_pkgname=sshpubkeys
-pkgname=python-sshpubkeys
-pkgver=3.3.0
-pkgrel=1
-pkgdesc='OpenSSH public key parser for Python'
-arch=(any)
-url='https://github.com/ojarva/python-sshpubkeys'
-license=(BSD)
-depends=(python-ecdsa python-cryptography)
-makedepends=(python-setuptools)
-source=("https://files.pythonhosted.org/packages/source/s/sshpubkeys/$_pkgname-$pkgver.tar.gz")
-sha256sums=('89e10a0caf38407426a05e3f5b5243d6e2f9575d6af45e9321291d20bcfca8f7')
-
-build() {
-    cd $_pkgname-$pkgver
-    python setup.py build
-}
-
-check() {
-    cd $_pkgname-$pkgver
-    python -m unittest tests
-}
-
-package() {
-    cd $_pkgname-$pkgver
-    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-    install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-sshpubkeys/repos/community-any/PKGBUILD (from rev 841028, python-sshpubkeys/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-02 12:26:50 UTC (rev 841029)
@@ -0,0 +1,32 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Drew DeVault <sir at cmpwn.com>
+
+_pkgname=sshpubkeys
+pkgname=python-sshpubkeys
+pkgver=3.3.0
+pkgrel=2
+pkgdesc='OpenSSH public key parser for Python'
+arch=(any)
+url='https://github.com/ojarva/python-sshpubkeys'
+license=(BSD)
+depends=(python-ecdsa python-cryptography)
+makedepends=(python-setuptools)
+source=("https://files.pythonhosted.org/packages/source/s/sshpubkeys/$_pkgname-$pkgver.tar.gz")
+sha256sums=('89e10a0caf38407426a05e3f5b5243d6e2f9575d6af45e9321291d20bcfca8f7')
+
+build() {
+    cd $_pkgname-$pkgver
+    python setup.py build
+}
+
+check() {
+    cd $_pkgname-$pkgver
+    # Upstream MANIFEST.in uses `graft tests`, so pyc files in tests will be listed in SOURCES.txt
+    PYTHONDONTWRITEBYTECODE=1 python -m unittest tests
+}
+
+package() {
+    cd $_pkgname-$pkgver
+    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+    install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list