[arch-commits] Commit in python-appdirs/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 29 15:21:59 UTC 2016
Date: Monday, August 29, 2016 @ 15:21:59
Author: felixonmars
Revision: 274814
archrelease: copy trunk to extra-any
Added:
python-appdirs/repos/extra-any/PKGBUILD
(from rev 274813, python-appdirs/trunk/PKGBUILD)
Deleted:
python-appdirs/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-29 15:21:42 UTC (rev 274813)
+++ PKGBUILD 2016-08-29 15:21:59 UTC (rev 274814)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Tobias Roettger <toroettg at gmail.com>
-
-pkgbase=python-appdirs
-pkgname=(python-appdirs python2-appdirs)
-pkgver=1.4.0
-pkgrel=3
-pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".'
-arch=(any)
-url="https://github.com/ActiveState/appdirs"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/a/appdirs/appdirs-$pkgver.tar.gz")
-md5sums=('1d17b4c9694ab84794e228f28dc3275b')
-
-prepare() {
- cp -a appdirs-$pkgver{,-py2}
-}
-
-check() {
- cd "$srcdir/appdirs-$pkgver"
- python setup.py test
-
- cd "$srcdir/appdirs-$pkgver-py2"
- python2 setup.py test
-}
-
-package_python-appdirs() {
- depends=('python')
-
- cd "$srcdir/appdirs-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-package_python2-appdirs() {
- depends=('python2')
-
- cd "$srcdir/appdirs-$pkgver-py2"
- python2 setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-appdirs/repos/extra-any/PKGBUILD (from rev 274813, python-appdirs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-08-29 15:21:59 UTC (rev 274814)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Tobias Roettger <toroettg at gmail.com>
+
+pkgbase=python-appdirs
+pkgname=(python-appdirs python2-appdirs)
+pkgver=1.4.0
+pkgrel=4
+pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".'
+arch=('any')
+url="https://github.com/ActiveState/appdirs"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/a/appdirs/appdirs-$pkgver.tar.gz")
+md5sums=('1d17b4c9694ab84794e228f28dc3275b')
+
+prepare() {
+ cp -a appdirs-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/appdirs-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/appdirs-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/appdirs-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/appdirs-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-appdirs() {
+ depends=('python')
+
+ cd appdirs-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-appdirs() {
+ depends=('python2')
+
+ cd appdirs-$pkgver-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list