[arch-commits] Commit in python-daiquiri/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 24 17:27:56 UTC 2018
Date: Tuesday, July 24, 2018 @ 17:27:56
Author: felixonmars
Revision: 363304
archrelease: copy trunk to community-staging-any
Added:
python-daiquiri/repos/community-staging-any/PKGBUILD
(from rev 363303, python-daiquiri/trunk/PKGBUILD)
Deleted:
python-daiquiri/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-24 17:27:40 UTC (rev 363303)
+++ PKGBUILD 2018-07-24 17:27:56 UTC (rev 363304)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-daiquiri
-pkgname=('python-daiquiri' 'python2-daiquiri')
-pkgver=1.3.0
-pkgrel=2
-pkgdesc='Library to configure Python logging easily'
-arch=('any')
-license=('Apache')
-url='https://github.com/jd/daiquiri'
-makedepends=('python-pbr' 'python2-pbr')
-checkdepends=('python-testrepository' 'python2-testrepository' 'python-testtools'
- 'python2-testtools' 'python-json-logger' 'python2-json-logger')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/daiquiri/archive/$pkgver.tar.gz")
-sha512sums=('858536bdff836655a6a3e5bdbfe125d3ced74ae19a3931450a0b7253d234ca74492a258cab8a45d75c0ca7b955970b439c786c1ab59d7901377fae7047b5cf35')
-
-prepare() {
- cp -a daiquiri-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/daiquiri-$pkgver
- python setup.py build
-
- cd "$srcdir"/daiquiri-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/daiquiri-$pkgver
- python setup.py testr
-
- cd "$srcdir"/daiquiri-$pkgver-py2
- python2 setup.py testr
-}
-
-package_python-daiquiri() {
- depends=('python')
- optdepends=('python-json-logger: For JSON support')
-
- cd daiquiri-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-daiquiri() {
- depends=('python2')
- optdepends=('python2-json-logger: For JSON support')
-
- cd daiquiri-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-daiquiri/repos/community-staging-any/PKGBUILD (from rev 363303, python-daiquiri/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-24 17:27:56 UTC (rev 363304)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-daiquiri
+pkgname=('python-daiquiri' 'python2-daiquiri')
+pkgver=1.5.0
+pkgrel=1
+pkgdesc='Library to configure Python logging easily'
+arch=('any')
+license=('Apache')
+url='https://github.com/jd/daiquiri'
+makedepends=('python-pbr' 'python2-pbr')
+checkdepends=('python-testrepository' 'python2-testrepository' 'python-testtools'
+ 'python2-testtools' 'python-json-logger' 'python2-json-logger')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/daiquiri/archive/$pkgver.tar.gz")
+sha512sums=('c1da590be4e546415fa16ee6ee08b5dc5fbbf572e4488c15907df7bb65800aedb59dd5f90bf7ff25a4b4d7796efaf40680372cd371fc6c9d25425e33afa3bb10')
+
+prepare() {
+ cp -a daiquiri-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/daiquiri-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/daiquiri-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/daiquiri-$pkgver
+ python setup.py testr
+
+ cd "$srcdir"/daiquiri-$pkgver-py2
+ python2 setup.py testr
+}
+
+package_python-daiquiri() {
+ depends=('python')
+ optdepends=('python-json-logger: For JSON support')
+
+ cd daiquiri-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-daiquiri() {
+ depends=('python2')
+ optdepends=('python2-json-logger: For JSON support')
+
+ cd daiquiri-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list