[arch-commits] Commit in python-configobj/repos (2 files)

Lukas Jirkovsky stativ at nymeria.archlinux.org
Mon Mar 17 11:45:04 UTC 2014


    Date: Monday, March 17, 2014 @ 12:45:04
  Author: stativ
Revision: 107455

archrelease: copy trunk to community-staging-any

Added:
  python-configobj/repos/community-staging-any/
  python-configobj/repos/community-staging-any/PKGBUILD
    (from rev 107454, python-configobj/trunk/PKGBUILD)

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

Copied: python-configobj/repos/community-staging-any/PKGBUILD (from rev 107454, python-configobj/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2014-03-17 11:45:04 UTC (rev 107455)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: Stefan Husmann  <stefan-husmann at t-online.de>
+# Contributor: Manuel "ekerazha" C. (www.ekerazha.com)
+
+pkgbase=python-configobj
+pkgname=('python-configobj' 'python2-configobj')
+pkgver=5.0.2
+pkgrel=2
+pkgdesc='Simple but powerful config file reader and writer for Python'
+arch=('any')
+url='https://github.com/DiffSK/configobj'
+license=('BSD')
+makedepends=('python' 'python2')
+source=("https://github.com/DiffSK/configobj/archive/v$pkgver.zip")
+sha256sums=('0dfdea62baf6ad6ef61f2c8bf361f93796d4aa21b9aebf8c56a01f6feca8a2b9')
+
+package_python-configobj() {
+  depends=('python-six')
+  cd "configobj-$pkgver"
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-configobj() {
+  depends=('python2-six')
+  cd "configobj-$pkgver"
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list