[arch-commits] Commit in python-setuptools-scm/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Sep 6 04:56:28 UTC 2021
Date: Monday, September 6, 2021 @ 04:56:28
Author: polyzen
Revision: 1011856
archrelease: copy trunk to community-any
Added:
python-setuptools-scm/repos/community-any/PKGBUILD
(from rev 1011855, python-setuptools-scm/trunk/PKGBUILD)
Deleted:
python-setuptools-scm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-06 04:56:05 UTC (rev 1011855)
+++ PKGBUILD 2021-09-06 04:56:28 UTC (rev 1011856)
@@ -1,37 +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.1.0
-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-setuptools')
-checkdepends=('python-pytest' 'mercurial' 'git' 'python-pip' 'python-toml')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('0e9fc7ca3f15657941d352ee2be5901d1606294577213e0f4c26cef20978e819')
-b2sums=('b1bdf0c2faa34eb77b378908fcd73670b2f1918552b62b0bd6a0359af00508485ddc91704966e4e862255b3c4e93492210741a60da41a8f09f9cd6c660e1aa8a')
-
-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
- 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 1011855, python-setuptools-scm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-06 04:56:28 UTC (rev 1011856)
@@ -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.3.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=('0f6a263912b13798c028b9a271d91af3bde0e42784091c797deccc3ad3a7f596')
+b2sums=('e447eacc91ed293c0dbc652b6fe6eebf8962812ea06fb80dcf0da641818a84482f180ea1c2a325a26428d01b53e73ffcc076c3c04411191589e5c7fc4bcdc651')
+
+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