Date: Tuesday, January 31, 2023 @ 19:59:24
Author: felixonmars
Revision: 1391505
archrelease: copy trunk to community-any
Added:
python-path/repos/community-any/PKGBUILD
(from rev 1391504, python-path/trunk/PKGBUILD)
Deleted:
python-path/repos/community-any/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 19:59:12 UTC (rev 1391504)
+++ PKGBUILD 2023-01-31 19:59:24 UTC (rev 1391505)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-path
-pkgver=16.6.0
-pkgrel=1
-pkgdesc='A module wrapper for os.path'
-arch=('any')
-license=('MIT')
-url='https://github.com/jaraco/path'
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
-checkdepends=('python-pytest-enabler' 'python-pytest-mypy')
-replaces=('python-path.py')
-conflicts=('python-path.py')
-provides=('python-path.py')
-source=("https://github.com/jaraco/path/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('4d7772b7eb7017bee78f95f30f6286b14750d6d8edbf5f58617ede12bd664f1b893921b89bb64f797e1d2eb7e67e361d8f1e01618fee26d64a5b879a3854aead')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd path-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd path-$pkgver
- python -m pytest
-}
-
-package() {
- cd path-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-path/repos/community-any/PKGBUILD (from rev 1391504,
python-path/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 19:59:24 UTC (rev 1391505)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-path
+pkgver=16.6.0
+_commit=6debbcecd357c30b080ea19bf2cfa0e2ab0fcd50
+pkgrel=2
+pkgdesc='A module wrapper for os.path'
+arch=('any')
+license=('MIT')
+url='https://github.com/jaraco/path'
+depends=('python')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+checkdepends=('python-pytest-enabler' 'python-pytest-mypy')
+replaces=('python-path.py')
+conflicts=('python-path.py')
+provides=('python-path.py')
+source=("git+https://github.com/jaraco/path.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd path
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd path
+ python -m pytest
+}
+
+package() {
+ cd path
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}