[arch-commits] Commit in python-setuptools-scm/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Feb 14 17:00:08 UTC 2022
Date: Monday, February 14, 2022 @ 17:00:08
Author: felixonmars
Revision: 1133196
archrelease: copy trunk to community-any
Added:
python-setuptools-scm/repos/community-any/PKGBUILD
(from rev 1133195, python-setuptools-scm/trunk/PKGBUILD)
Deleted:
python-setuptools-scm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-14 16:59:59 UTC (rev 1133195)
+++ PKGBUILD 2022-02-14 17:00:08 UTC (rev 1133196)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
-
-_name=setuptools_scm
-pkgname=python-setuptools-scm
-pkgver=6.4.1
-pkgrel=1
-pkgdesc="Handles managing your python package versions in scm metadata"
-arch=('any')
-url="https://github.com/pypa/setuptools_scm"
-license=('MIT')
-depends=('python-packaging' 'python-setuptools' 'python-tomli')
-checkdepends=('git' 'mercurial' 'python-pip' 'python-pytest'
- 'python-virtualenv')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('9bd9ff7fd5fa1cf469fe28a632336b9cfd351476c6d09379ff676d3945f669b9')
-b2sums=('984b60de24e3090bfa7284ef91f40cfb8481cd9008d57012564e6631727dc1e1bb6820265a4fd3576581ce836224599bdd8ddef73446ddc3040e51ddad4b6140')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
- python setup.py egg_info
-}
-
-check() {
- cd $_name-$pkgver
- mkdir -p temp
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- python setup.py install --root=temp --optimize=1 --skip-build
- PYTHONPATH="$PWD/temp/$site_packages" pytest
-}
-
-package() {
- cd $_name-$pkgver
- python setup.py install --root "$pkgdir" --optimize=1 --skip-build
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-}
Copied: python-setuptools-scm/repos/community-any/PKGBUILD (from rev 1133195, python-setuptools-scm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-14 17:00:08 UTC (rev 1133196)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+_name=setuptools_scm
+pkgname=python-setuptools-scm
+pkgver=6.4.2
+pkgrel=1
+pkgdesc="Handles managing your python package versions in scm metadata"
+arch=('any')
+url="https://github.com/pypa/setuptools_scm"
+license=('MIT')
+depends=('python-packaging' 'python-setuptools' 'python-tomli')
+checkdepends=('git' 'mercurial' 'python-pip' 'python-pytest'
+ 'python-virtualenv')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30')
+b2sums=('e1b5191425cf5db8334761a6857b0bc39c547c167901cbdf8401af441c5941cd75744162417ff42dbac792ae867d71c7576c5e9e533fe8039a75954f4c2ba439')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+ python setup.py egg_info
+}
+
+check() {
+ cd $_name-$pkgver
+ mkdir -p temp
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ python setup.py install --root=temp --optimize=1 --skip-build
+ PYTHONPATH="$PWD/temp/$site_packages" pytest
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
More information about the arch-commits
mailing list