Date: Tuesday, January 31, 2023 @ 20:26:03
Author: felixonmars
Revision: 1391549
archrelease: copy trunk to community-any
Added:
python-configupdater/repos/community-any/PKGBUILD
(from rev 1391548, python-configupdater/trunk/PKGBUILD)
Deleted:
python-configupdater/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 31 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:25:51 UTC (rev 1391548)
+++ PKGBUILD 2023-01-31 20:26:03 UTC (rev 1391549)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-configupdater
-pkgver=3.1.1
-pkgrel=1
-pkgdesc="Parser like ConfigParser but for updating configuration files"
-url="https://github.com/pyscaffold/configupdater"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-cov')
-source=("https://github.com/pyscaffold/configupdater/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('1e499f87d0ac3d75f32aafe532d7c83b4b86fbaa204fcdbaf7a3dcb5262d936fe027ee0b21d169ef69a0590edbe965a872390b14be274fbb1c893f2d4695b92c')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd configupdater-$pkgver
- python setup.py build
-}
-
-check() {
- cd configupdater-$pkgver
- PYTHONPATH="$PWD"/build/lib pytest
-}
-
-package() {
- cd configupdater-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-configupdater/repos/community-any/PKGBUILD (from rev 1391548,
python-configupdater/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 20:26:03 UTC (rev 1391549)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-configupdater
+pkgver=3.1.1
+_commit=0539c207ac57ea4fa6a64618e41b987c5865ffd9
+pkgrel=2
+pkgdesc="Parser like ConfigParser but for updating configuration files"
+url="https://github.com/pyscaffold/configupdater"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('git' 'python-setuptools-scm')
+checkdepends=('python-pytest-cov')
+source=("git+https://github.com/pyscaffold/configupdater.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd configupdater
+ python setup.py build
+}
+
+check() {
+ cd configupdater
+ PYTHONPATH="$PWD"/build/lib pytest
+}
+
+package() {
+ cd configupdater
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}