Date: Tuesday, January 31, 2023 @ 20:00:41
  Author: felixonmars
Revision: 1391509

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:00:29 UTC (rev 1391508)
+++ PKGBUILD    2023-01-31 20:00:41 UTC (rev 1391509)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-iniconfig
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="brain-dead simple config-ini parsing"
-url="https://github.com/RonnyPfannschmidt/iniconfig";
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-hatchling' 
'python-hatch-vcs')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/RonnyPfannschmidt/iniconfig/archive/v$pkgver.tar.gz";)
-sha512sums=('e474aaa904070ed79dbbd2b4b572574ebb591b97a4ca0f9c4e4aef437af01035d2f73c48bb670afcec2cd8b7ea093b92d6b0c0eca7ba42033418a2b0e0ac80ad')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd iniconfig-$pkgver
-  python -m build -nw
-}
-
-check() {
-  cd iniconfig-$pkgver
-  PYTHONPATH="$PWD/src" pytest
-}
-
-package() {
-  cd iniconfig-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-iniconfig/repos/community-any/PKGBUILD (from rev 1391508, 
python-iniconfig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 20:00:41 UTC (rev 1391509)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-iniconfig
+pkgver=2.0.0
+_commit=93f5930e668c0d1ddf4597e38dd0dea4e2665e7a
+pkgrel=2
+pkgdesc="brain-dead simple config-ini parsing"
+url="https://github.com/RonnyPfannschmidt/iniconfig";
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('git' 'python-build' 'python-installer' 'python-hatchling' 
'python-hatch-vcs')
+checkdepends=('python-pytest')
+source=("git+https://github.com/RonnyPfannschmidt/iniconfig.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd iniconfig
+  python -m build -nw
+}
+
+check() {
+  cd iniconfig
+  PYTHONPATH="$PWD/src" pytest
+}
+
+package() {
+  cd iniconfig
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to