Date: Monday, June 30, 2014 @ 20:30:58
  Author: dwallace
Revision: 113813

new package python-docopt

Added:
  python-docopt/
  python-docopt/repos/
  python-docopt/trunk/
  python-docopt/trunk/LICENSE-MIT
  python-docopt/trunk/PKGBUILD

-------------+
 LICENSE-MIT |   19 +++++++++++++++++++
 PKGBUILD    |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Added: python-docopt/trunk/LICENSE-MIT
===================================================================
--- python-docopt/trunk/LICENSE-MIT                             (rev 0)
+++ python-docopt/trunk/LICENSE-MIT     2014-06-30 18:30:58 UTC (rev 113813)
@@ -0,0 +1,19 @@
+Copyright (c) 2012 Vladimir Keleshev, <vladi...@keleshev.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in 
+the Software without restriction, including without limitation the rights to 
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
+of the Software, and to permit persons to whom the Software is furnished to do 
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all 
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
+SOFTWARE.

Added: python-docopt/trunk/PKGBUILD
===================================================================
--- python-docopt/trunk/PKGBUILD                                (rev 0)
+++ python-docopt/trunk/PKGBUILD        2014-06-30 18:30:58 UTC (rev 113813)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
+
+pkgbase=python-docopt
+_pkgname=docopt
+pkgname=(python-docopt python2-docopt)
+pkgver=0.6.1
+pkgrel=3
+pkgdesc="Pythonic option parser, that will make you smile"
+arch=(any)
+url="https://github.com/docopt/docopt";
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz";
 LICENSE-MIT)
+sha256sums=('71ad940a773fbc23be6093e9476ad57b2ecec446946a28d30127501f3b29aa35'
+            '3d5df78f592ff2433c3c6ce4984091b7f497059ddb8c6b08a061ba48e37b67f2')
+
+prepare(){
+    cp -dpr --no-preserve=owner $_pkgname-$pkgver $_pkgname-$pkgver-2
+}
+
+build() {
+       cd "$srcdir/$_pkgname-$pkgver"
+       python setup.py build
+       cd "$srcdir/$_pkgname-$pkgver-2"
+       python2 setup.py build
+}
+
+package_python2-docopt() {
+       cd "$srcdir/$_pkgname-$pkgver-2"
+       python2 setup.py install --skip-build -O1 --root="$pkgdir"
+    depends=('python2')
+       install -Dm0644 "$srcdir/LICENSE-MIT" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python-docopt() {
+       cd "$srcdir/$_pkgname-$pkgver"
+    depends=('python')
+       python setup.py install --skip-build -O1 --root="$pkgdir"
+       install -Dm0644 "$srcdir/LICENSE-MIT" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+


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

Reply via email to