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

Felix Yan felixonmars at gemini.archlinux.org
Tue May 10 01:38:15 UTC 2022


    Date: Tuesday, May 10, 2022 @ 01:38:15
  Author: felixonmars
Revision: 1196451

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-10 01:38:04 UTC (rev 1196450)
+++ PKGBUILD	2022-05-10 01:38:15 UTC (rev 1196451)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Matthew Sloan matthew at sloan.cc
-
-pkgname=python-pint
-pkgver=0.19
-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=('7d76d3b23e78c6e02f9d96b07da2823b779fef83325258737e04eabf6658bd8480b5fb43688186f9d05cf09db5787947148a2a81d068e90895da48e2cb06769a')
-
-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 1196450, python-pint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-10 01:38:15 UTC (rev 1196451)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Matthew Sloan matthew at sloan.cc
+
+pkgname=python-pint
+pkgver=0.19.1
+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=('fd188f9e7527da08ccee1e13784cf7b722f0679f42c83a4a3687eca13591dffc69e1fc96ff176ede028db86c4e82d829d8e01f11615ef2a77a53747d426c07d9')
+
+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