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

Felix Yan felixonmars at gemini.archlinux.org
Sat Oct 30 23:56:33 UTC 2021


    Date: Saturday, October 30, 2021 @ 23:56:33
  Author: felixonmars
Revision: 1035017

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-30 23:56:25 UTC (rev 1035016)
+++ PKGBUILD	2021-10-30 23:56:33 UTC (rev 1035017)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Matthew Sloan matthew at sloan.cc
-
-pkgname=python-pint
-pkgver=0.17
-pkgrel=1
-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=('3e715d67b4a7b931ccaf7cdbeda4aa2338e7129840de447837f86696efb52117c6e6e832d1cc3605d160f12a631f3ce2e5dceff46be0de91460c3fec4c605146')
-
-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-any/PKGBUILD (from rev 1035016, python-pint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-30 23:56:33 UTC (rev 1035017)
@@ -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=1
+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