[arch-commits] Commit in python-pint/repos/community-staging-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:29:40 UTC 2021


    Date: Friday, December 3, 2021 @ 00:29:40
  Author: felixonmars
Revision: 1063804

archrelease: copy trunk to community-staging-any

Added:
  python-pint/repos/community-staging-any/PKGBUILD
    (from rev 1063800, python-pint/trunk/PKGBUILD)
Deleted:
  python-pint/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-03 00:29:39 UTC (rev 1063803)
+++ PKGBUILD	2021-12-03 00:29:40 UTC (rev 1063804)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Matthew Sloan matthew at sloan.cc
-
-pkgname=python-pint
-pkgver=0.18
-pkgrel=2
-pkgdesc="A unit library for Python"
-arch=('any')
-license=('BSD')
-url="https://pint.readthedocs.org"
-depends=('python')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-subtests' 'python-numpy' 'python-uncertainties')
-source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz")
-sha512sums=('46d1bb2e7e26316dd4ba077f95a57ba43d87cf1622ad6864029f2a7f7ab345925cc3cc1da674d5c21b41ec1c4c19bedff427740b7df22e7d7711b8c19f2fdbd3')
-
-prepare() {
-  cd Pint-$pkgver
-  sed -i 's/pkg_resources.extern.//' pint/quantity.py
-}
-
-check() {
-  cd Pint-$pkgver
-  pytest
-}
-
-package() {
-  cd Pint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pint/repos/community-staging-any/PKGBUILD (from rev 1063800, python-pint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-03 00:29:40 UTC (rev 1063804)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Matthew Sloan matthew at sloan.cc
+
+pkgname=python-pint
+pkgver=0.18
+pkgrel=3
+pkgdesc="A unit library for Python"
+arch=('any')
+license=('BSD')
+url="https://pint.readthedocs.org"
+depends=('python')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-subtests' 'python-numpy' 'python-uncertainties')
+source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz")
+sha512sums=('46d1bb2e7e26316dd4ba077f95a57ba43d87cf1622ad6864029f2a7f7ab345925cc3cc1da674d5c21b41ec1c4c19bedff427740b7df22e7d7711b8c19f2fdbd3')
+
+prepare() {
+  cd Pint-$pkgver
+  sed -i 's/pkg_resources.extern.//' pint/quantity.py
+}
+
+check() {
+  cd Pint-$pkgver
+  pytest
+}
+
+package() {
+  cd Pint-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list