[arch-commits] Commit in python-cftime/repos/community-staging-x86_64 (2 files)
Bruno Pagani
archange at archlinux.org
Sat Oct 26 17:54:29 UTC 2019
Date: Saturday, October 26, 2019 @ 17:54:28
Author: archange
Revision: 520452
archrelease: copy trunk to community-staging-x86_64
Added:
python-cftime/repos/community-staging-x86_64/PKGBUILD
(from rev 520451, python-cftime/trunk/PKGBUILD)
Deleted:
python-cftime/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-26 17:54:23 UTC (rev 520451)
+++ PKGBUILD 2019-10-26 17:54:28 UTC (rev 520452)
@@ -1,44 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=cftime
-pkgbase=python-${_pkg,,}
-pkgname=("python-${_pkg,,}" "python2-${_pkg,,}")
-pkgver=1.0.4
-pkgrel=2
-pkgdesc="Time-handling functionality from python-netcdf4"
-arch=(x86_64)
-url="https://unidata.github.io/cftime"
-license=(MIT)
-makedepends=(cython python-setuptools cython2 python2-setuptools python-numpy python2-numpy)
-source=("https://files.pythonhosted.org/packages/source/c/${_pkg}/${_pkg}-${pkgver}.tar.gz")
-sha256sums=('f8f40f701b4ef2a4bf4c8e827b8acc7886bb9dd93cf2204b4bc81d9352c69312')
-
-prepare() {
- cp -a ${_pkg}-${pkgver}{,-py2}
-}
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-
- cd ../${_pkg}-${pkgver}-py2
- python2 setup.py build
-}
-
-package_python-cftime() {
- depends=(python-numpy)
-
- cd ${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-
- install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
-
-package_python2-cftime() {
- depends=(python2-numpy)
-
- cd ${_pkg}-${pkgver}-py2
- python2 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-staging-x86_64/PKGBUILD (from rev 520451, python-cftime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-26 17:54:28 UTC (rev 520452)
@@ -0,0 +1,44 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=cftime
+pkgbase=python-${_pkg,,}
+pkgname=("python-${_pkg,,}" "python2-${_pkg,,}")
+pkgver=1.0.4.2
+pkgrel=2
+pkgdesc="Time-handling functionality from python-netcdf4"
+arch=(x86_64)
+url="https://unidata.github.io/cftime"
+license=(MIT)
+makedepends=(cython python-setuptools cython2 python2-setuptools python-numpy python2-numpy)
+source=("https://files.pythonhosted.org/packages/source/c/${_pkg}/${_pkg}-${pkgver}.tar.gz")
+sha256sums=('1ac64f8f9066ea756ea27d67cedaf064e7c866275218fa7c84684066a5890f70')
+
+prepare() {
+ cp -a ${_pkg}-${pkgver}{,-py2}
+}
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+
+ cd ../${_pkg}-${pkgver}-py2
+ python2 setup.py build
+}
+
+package_python-cftime() {
+ depends=(python-numpy)
+
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+ install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+
+package_python2-cftime() {
+ depends=(python2-numpy)
+
+ cd ${_pkg}-${pkgver}-py2
+ python2 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