[arch-commits] Commit in python-cftime/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Thu Jun 30 15:47:18 UTC 2022
Date: Thursday, June 30, 2022 @ 15:47:18
Author: archange
Revision: 1243062
archrelease: copy trunk to community-x86_64
Added:
python-cftime/repos/community-x86_64/PKGBUILD
(from rev 1243061, python-cftime/trunk/PKGBUILD)
Deleted:
python-cftime/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-30 15:47:10 UTC (rev 1243061)
+++ PKGBUILD 2022-06-30 15:47:18 UTC (rev 1243062)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=cftime
-pkgname=python-${_pkg}
-pkgver=1.6.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)
-#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=('53fd3204c89d1e20e599995c074c92d7cbed09962252ad842dd90ca2f9ce5f5f')
-
-build() {
- cd ${_pkg}-${pkgver}rel
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}rel
- sed -i '/--cov/d' setup.cfg
- local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
- PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version} pytest -vv --color=yes
-}
-
-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 1243061, python-cftime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-30 15:47:18 UTC (rev 1243062)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=cftime
+pkgname=python-${_pkg}
+pkgver=1.6.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)
+#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=('5440954b446eedc27253a8d437603ca273ca8e59551d016ccf7e9da783a62758')
+
+build() {
+ cd ${_pkg}-${pkgver}rel
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}rel
+ sed -i '/--cov/d' setup.cfg
+ local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+ PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version} pytest -vv --color=yes
+}
+
+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