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

Felix Yan felixonmars at archlinux.org
Thu Jun 10 23:04:24 UTC 2021


    Date: Thursday, June 10, 2021 @ 23:04:24
  Author: felixonmars
Revision: 961876

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-10 23:04:16 UTC (rev 961875)
+++ PKGBUILD	2021-06-10 23:04:24 UTC (rev 961876)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Matthew Sloan matthew at sloan.cc
-
-pkgname=python-pint
-pkgver=0.16.1
-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-runner' 'python-numpy' 'python-uncertainties')
-source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz")
-sha512sums=('7d18ff7a7e85ff98350347a487be62513b100e4adba701a8e5f27f6db89618931d0f62b67be42bda4af097f5f01830baa5a6b50a537924287214d0d954da5322')
-
-prepare() {
-  cd Pint-$pkgver
-  sed -i 's/pkg_resources.extern.//' pint/quantity.py
-}
-
-check() {
-  cd Pint-$pkgver
-  python setup.py 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 961875, python-pint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-10 23:04:24 UTC (rev 961876)
@@ -0,0 +1,31 @@
+# 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
+}



More information about the arch-commits mailing list