[arch-commits] Commit in python-cftime/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Tue Oct 22 16:53:27 UTC 2019
Date: Tuesday, October 22, 2019 @ 16:53:27
Author: archange
Revision: 518379
archrelease: copy trunk to community-x86_64
Added:
python-cftime/repos/community-x86_64/PKGBUILD
(from rev 518378, python-cftime/trunk/PKGBUILD)
Deleted:
python-cftime/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-22 16:53:22 UTC (rev 518378)
+++ PKGBUILD 2019-10-22 16:53:27 UTC (rev 518379)
@@ -1,44 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=cftime
-pkgbase=python-${_pkg,,}
-pkgname=("python-${_pkg,,}" "python2-${_pkg,,}")
-pkgver=1.0.3.4
-pkgrel=1
-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=('dd74d0d470baf1c50e31335215793a5e78436903e34b4f151fa9ccbf3a6cc20c')
-
-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-x86_64/PKGBUILD (from rev 518378, python-cftime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-22 16:53:27 UTC (rev 518379)
@@ -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
+pkgrel=1
+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}
+}
More information about the arch-commits
mailing list