Date: Tuesday, October 4, 2022 @ 06:33:37
  Author: grawlinson
Revision: 1320875

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 54 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-04 06:32:39 UTC (rev 1320874)
+++ PKGBUILD    2022-10-04 06:33:37 UTC (rev 1320875)
@@ -1,48 +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.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
-}

Copied: python-debian/repos/community-any/PKGBUILD (from rev 1320874, 
python-debian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-04 06:33:37 UTC (rev 1320875)
@@ -0,0 +1,54 @@
+# 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
+}

Reply via email to