Date: Monday, November 21, 2022 @ 21:30:38
Author: grawlinson
Revision: 1351417
archrelease: copy trunk to community-any
Added:
python-debian/repos/community-any/PKGBUILD
(from rev 1351416, python-debian/trunk/PKGBUILD)
Deleted:
python-debian/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 52 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-21 21:29:42 UTC (rev 1351416)
+++ PKGBUILD 2022-11-21 21:30:38 UTC (rev 1351417)
@@ -1,54 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Justin Vreeland <[email protected]>
-# Contributor: Mike Javorski (javmorin) <mike.javorski gmail com>
-# Contributor: Johannes Dewender arch at JonnyJD dot net
-
-pkgname=python-debian
-pkgver=0.1.48
-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-build'
- 'python-installer'
- 'python-wheel'
- 'python-setuptools'
-)
-_commit='d16abb0710011a22567442ce0ecbbebb489c7628'
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags
-}
-
-build() {
- cd "$pkgname"
-
- python -m build --wheel --no-isolation
-}
-
-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 -m installer --destdir="$pkgdir" dist/*.whl
-}
Copied: python-debian/repos/community-any/PKGBUILD (from rev 1351416,
python-debian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-21 21:30:38 UTC (rev 1351417)
@@ -0,0 +1,52 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Justin Vreeland <[email protected]>
+# Contributor: Mike Javorski (javmorin) <mike.javorski gmail com>
+# Contributor: Johannes Dewender arch at JonnyJD dot net
+
+pkgname=python-debian
+pkgver=0.1.49
+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-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-setuptools'
+)
+checkdepends=('python-pytest')
+_commit='23f50416fce5ee7f1590b3ad1a49ec52e2e986d7'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ pytest -v
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}