[arch-commits] Commit in python-cftime/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Wed Jul 28 14:05:14 UTC 2021


    Date: Wednesday, July 28, 2021 @ 14:05:14
  Author: archange
Revision: 988903

archrelease: copy trunk to community-x86_64

Added:
  python-cftime/repos/community-x86_64/PKGBUILD
    (from rev 988902, python-cftime/trunk/PKGBUILD)
Deleted:
  python-cftime/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-28 14:05:09 UTC (rev 988902)
+++ PKGBUILD	2021-07-28 14:05:14 UTC (rev 988903)
@@ -1,33 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=cftime
-pkgname=python-${_pkg}
-pkgver=1.4.1
-pkgrel=1
-pkgdesc="Time-handling functionality from python-netcdf4"
-arch=(x86_64)
-url="https://unidata.github.io/cftime"
-license=(MIT)
-depends=(python-numpy)
-makedepends=(cython python-setuptools)
-checkdepends=(python-pytest python-pytest-cov)
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(https://github.com/Unidata/cftime/archive/v${pkgver}rel/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('e129c3b72ccc337cc0f0c4e3438cab1a5206572a8f3aefba220ab6c6c06476c1')
-
-build() {
-    cd ${_pkg}-${pkgver}rel
-    python setup.py build
-}
-
-check() {
-    cd ${_pkg}-${pkgver}rel
-    local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-    PYTHONPATH="${PWD}/build/lib.linux-${CARCH}-${python_version}" py.test
-}
-
-package() {
-    cd ${_pkg}-${pkgver}rel
-    python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-cftime/repos/community-x86_64/PKGBUILD (from rev 988902, python-cftime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-28 14:05:14 UTC (rev 988903)
@@ -0,0 +1,33 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=cftime
+pkgname=python-${_pkg}
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Time-handling functionality from python-netcdf4"
+arch=(x86_64)
+url="https://unidata.github.io/cftime"
+license=(MIT)
+depends=(python-numpy)
+makedepends=(cython python-setuptools)
+checkdepends=(python-pytest python-pytest-cov)
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(https://github.com/Unidata/cftime/archive/v${pkgver}rel/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('9cefc1bdcb3d2dd19a5fb5d142057024d6aabdd3577d912b68696f1155b41691')
+
+build() {
+    cd ${_pkg}-${pkgver}rel
+    python setup.py build
+}
+
+check() {
+    cd ${_pkg}-${pkgver}rel
+    local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+    PYTHONPATH="${PWD}/build/lib.linux-${CARCH}-${python_version}" py.test
+}
+
+package() {
+    cd ${_pkg}-${pkgver}rel
+    python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list