Date: Wednesday, March 15, 2023 @ 01:31:09
Author: polyzen
Revision: 1420644
archrelease: copy trunk to community-any
Added:
python-pathspec/repos/community-any/PKGBUILD
(from rev 1420643, python-pathspec/trunk/PKGBUILD)
Deleted:
python-pathspec/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-15 01:30:44 UTC (rev 1420643)
+++ PKGBUILD 2023-03-15 01:31:09 UTC (rev 1420644)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: Chris Severance aur.severach aATt spamgourmet dott com
-
-_name=pathspec
-pkgname=python-pathspec
-pkgver=0.11.0
-pkgrel=1
-pkgdesc='Utility library for gitignore style pattern matching of file paths'
-arch=('any')
-url=https://github.com/cpburnz/python-pathspec
-license=('MPL2')
-depends=('python')
-makedepends=('python-build' 'python-flit-core' 'python-installer'
- 'python-wheel')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('64d338d4e0914e91c1792321e6907b5a593f1ab1851de7fc269557a21b30ebbc')
-b2sums=('96b84fe78c8540ec9145c2735936c437b6eaff4e4f15e37de0c13c147e15c8852a19db4f4c9ce0dcf43dc543ac021edb148321b3a099b0915380ec243dd87041')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- python -m venv --system-site-packages test-env
- test-env/bin/python -m installer dist/*.whl
- test-env/bin/python -m unittest discover tests
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- # Symlink license file
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pathspec/repos/community-any/PKGBUILD (from rev 1420643,
python-pathspec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-15 01:31:09 UTC (rev 1420644)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Chris Severance aur.severach aATt spamgourmet dott com
+
+_name=pathspec
+pkgname=python-pathspec
+pkgver=0.11.1
+pkgrel=1
+pkgdesc='Utility library for gitignore style pattern matching of file paths'
+arch=('any')
+url=https://github.com/cpburnz/python-pathspec
+license=('MPL2')
+depends=('python')
+makedepends=('python-build' 'python-flit-core' 'python-installer'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687')
+b2sums=('a97d838584959b5be5bb055773b2b8c6992d0b1f9ab2d8116adf251762c534fe9af976cf9cc9b9aae9f12de519ee3d609315ed608e543d0028c6ccc87cffbd8c')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python -m unittest discover tests
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # Symlink license file
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}