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

George Rawlinson grawlinson at gemini.archlinux.org
Mon May 30 07:38:51 UTC 2022


    Date: Monday, May 30, 2022 @ 07:38:50
  Author: grawlinson
Revision: 1214950

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 48 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-30 07:38:34 UTC (rev 1214949)
+++ PKGBUILD	2022-05-30 07:38:50 UTC (rev 1214950)
@@ -1,33 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Justin Vreeland <vreeland.justin at gmail.com>
-# Contributor: Mike Javorski (javmorin) <mike.javorski gmail com>
-# Contributor: Johannes Dewender   arch at JonnyJD dot net
-
-pkgname=python-debian
-pkgver=0.1.43
-pkgrel=1
-pkgdesc='Python module to work with Debian-related data formats'
-arch=('any')
-url='https://salsa.debian.org/python-debian-team/python-debian'
-license=('GPL')
-depends=('python-chardet' 'python-six')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('e07584ee7b989be6a225980734b87d5100719b2dd989c174023f31d3cdff51b9ab486676ff03e1895ccf44c12ddfabbb707e30d51ce1afbadb0fcc828a156e64')
-b2sums=('fc0c43a25c4ba5d8a07e8a8e1745c88020c3f3f08de5f4d3ecae2d1697059f0fff7060c627b2eec9a6781990c95494283af2a3ee77ac75c7d4ec501e5842edfe')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  rm lib/debian/tests/test_deb{822,file}.py # remove failing tests .. for now
-  python -m unittest discover --verbose lib/
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-debian/repos/community-any/PKGBUILD (from rev 1214949, python-debian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-30 07:38:50 UTC (rev 1214950)
@@ -0,0 +1,48 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Justin Vreeland <vreeland.justin at gmail.com>
+# Contributor: Mike Javorski (javmorin) <mike.javorski gmail com>
+# Contributor: Johannes Dewender   arch at JonnyJD dot net
+
+pkgname=python-debian
+pkgver=0.1.44
+pkgrel=1
+pkgdesc='Python module to work with Debian-related data formats'
+arch=('any')
+url='https://salsa.debian.org/python-debian-team/python-debian'
+license=('GPL')
+depends=(
+  'python'
+  'python-chardet'
+  'python-six'
+)
+makedepends=('git' 'python-setuptools')
+_commit='541ab6657e7ba2fa80c3882febfb561dfc9649df'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags
+}
+
+build() {
+  cd "$pkgname"
+
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname"
+
+  # remove failing tests .. for now
+  rm lib/debian/tests/test_debfile.py
+
+  python -m unittest discover --verbose lib/
+}
+
+package() {
+  cd "$pkgname"
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list