Date: Monday, August 29, 2016 @ 15:19:21
  Author: felixonmars
Revision: 274811

community2extra: Moving python-appdirs from community to extra

Added:
  python-appdirs/
  python-appdirs/repos/
  python-appdirs/trunk/
  python-appdirs/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Added: python-appdirs/trunk/PKGBUILD
===================================================================
--- python-appdirs/trunk/PKGBUILD                               (rev 0)
+++ python-appdirs/trunk/PKGBUILD       2016-08-29 15:19:21 UTC (rev 274811)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Tobias Roettger <toroe...@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:


Property changes on: python-appdirs/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to