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

Bruno Pagani archange at archlinux.org
Wed Apr 22 15:20:43 UTC 2020


    Date: Wednesday, April 22, 2020 @ 15:20:42
  Author: archange
Revision: 617667

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-22 15:20:37 UTC (rev 617666)
+++ PKGBUILD	2020-04-22 15:20:42 UTC (rev 617667)
@@ -1,33 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=cftime
-pkgname=python-${_pkg}
-pkgver=1.1.1.2
-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=('6d429a77a160881ed0afeec2b475fd16b2ede82832cf996e94957b4261ab4fb7')
-
-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 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-cftime/repos/community-x86_64/PKGBUILD (from rev 617666, python-cftime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-22 15:20:42 UTC (rev 617667)
@@ -0,0 +1,33 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=cftime
+pkgname=python-${_pkg}
+pkgver=1.1.2
+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=('dc8c9209dd4d79fadbcda063b1d88ee1d3e809946beb9fcde4cac77f521aff2c')
+
+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 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list