[arch-commits] Commit in python-iso8601/repos/community-any (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon Mar 16 18:22:00 UTC 2020
Date: Monday, March 16, 2020 @ 18:22:00
Author: bgyorgy
Revision: 599837
archrelease: copy trunk to community-any
Added:
python-iso8601/repos/community-any/PKGBUILD
(from rev 599836, python-iso8601/trunk/PKGBUILD)
Deleted:
python-iso8601/repos/community-any/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++--------------------------------------
1 file changed, 27 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 18:21:57 UTC (rev 599836)
+++ PKGBUILD 2020-03-16 18:22:00 UTC (rev 599837)
@@ -1,42 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgbase=python-iso8601
-pkgname=(python-iso8601 python2-iso8601)
-_libname=iso8601
-pkgver=0.1.12
-pkgrel=4
-pkgdesc="Simple module to parse ISO 8601 dates"
-arch=(any)
-url="https://pyiso8601.readthedocs.io/en/latest/"
-license=('MIT')
-source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
-makedepends=(python-setuptools python2-setuptools)
-sha256sums=('49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098eddede82')
-
-build() {
- cd "$srcdir/$_libname-$pkgver"
-
- rm -rf ../buildpy3; mkdir ../buildpy3
- python setup.py build -b ../buildpy3
-
- rm -rf ../buildpy2; mkdir ../buildpy2
- python2 setup.py build -b ../buildpy2
-}
-
-package_python-iso8601() {
- depends=(python)
-
- cd "$srcdir/$_libname-$pkgver"
- rm -rf build; ln -s ../buildpy3 build
- python setup.py install --skip-build -O1 --root="$pkgdir"
- install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-iso8601() {
- depends=(python2)
-
- cd "$srcdir/$_libname-$pkgver"
- rm -rf build; ln -s ../buildpy2 build
- python2 setup.py install --skip-build -O1 --root="$pkgdir"
- install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-iso8601/repos/community-any/PKGBUILD (from rev 599836, python-iso8601/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-16 18:22:00 UTC (rev 599837)
@@ -0,0 +1,27 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-iso8601
+_libname=iso8601
+pkgver=0.1.12
+pkgrel=5
+pkgdesc="Simple module to parse ISO 8601 dates"
+arch=(any)
+url="https://pyiso8601.readthedocs.io/en/latest/"
+license=('MIT')
+depends=(python)
+makedepends=(python-setuptools)
+source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
+sha256sums=('49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098eddede82')
+
+build() {
+ cd "$srcdir/$_libname-$pkgver"
+ rm -rf ../buildpy3; mkdir ../buildpy3
+ python setup.py build -b ../buildpy3
+}
+
+package() {
+ cd "$srcdir/$_libname-$pkgver"
+ rm -rf build; ln -s ../buildpy3 build
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list