[arch-commits] Commit in python-cftime/repos/community-staging-x86_64 (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 2 15:20:35 UTC 2021
Date: Thursday, December 2, 2021 @ 15:20:35
Author: foutrelis
Revision: 1062035
archrelease: copy trunk to community-staging-x86_64
Added:
python-cftime/repos/community-staging-x86_64/PKGBUILD
(from rev 1062033, python-cftime/trunk/PKGBUILD)
Deleted:
python-cftime/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 15:20:34 UTC (rev 1062034)
+++ PKGBUILD 2021-12-02 15:20:35 UTC (rev 1062035)
@@ -1,33 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=cftime
-pkgname=python-${_pkg}
-pkgver=1.5.1
-pkgrel=2
-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=('b42acd1017242e2885377ed39be7c16100ddcde35dfab88d5db8bd79cb78aa0f')
-
-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-staging-x86_64/PKGBUILD (from rev 1062033, python-cftime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 15:20:35 UTC (rev 1062035)
@@ -0,0 +1,33 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=cftime
+pkgname=python-${_pkg}
+pkgver=1.5.1
+pkgrel=3
+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=('b42acd1017242e2885377ed39be7c16100ddcde35dfab88d5db8bd79cb78aa0f')
+
+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