Date: Sunday, May 24, 2015 @ 00:35:23 Author: demize Revision: 134014
python-parse: Initial import Added: python-parse/ python-parse/repos/ python-parse/trunk/ python-parse/trunk/LICENSE python-parse/trunk/PKGBUILD ----------+ LICENSE | 19 +++++++++++++++++++ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) Added: python-parse/trunk/LICENSE =================================================================== --- python-parse/trunk/LICENSE (rev 0) +++ python-parse/trunk/LICENSE 2015-05-23 22:35:23 UTC (rev 134014) @@ -0,0 +1,19 @@ +Copyright (c) 2012-2013 Richard Jones <[email protected]> + +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-parse/trunk/PKGBUILD =================================================================== --- python-parse/trunk/PKGBUILD (rev 0) +++ python-parse/trunk/PKGBUILD 2015-05-23 22:35:23 UTC (rev 134014) @@ -0,0 +1,46 @@ +# Maintainer: Johannes Löthberg <[email protected]> +# Contributor: Aaron DeVore <[email protected]> + +pkgbase=python-parse +pkgname=(python-parse python2-parse) +pkgver=1.6.6 +pkgrel=1 + +pkgdesc='Parse strings using a specification based on the Python format() syntax.' +url='http://pypi.python.org/pypi/parse' +arch=('any') +license=('BSD') + +depends=('python') +makedepends=('python-setuptools' 'python2-setuptools') + +source=("http://pypi.python.org/packages/source/p/parse/parse-$pkgver.tar.gz"{,.asc} + LICENSE) # license from the bottom of parse.py + +md5sums=('11bc8c60a30fe52db4ac9a827653d0ca' 'SKIP' + '68c10fa20482cc4328a1052695fb7e53') + +validpgpkeys=('0145FD2B52E80A8E329A16C7AC68AC0441C6E930') + + +check() { + cd parse-"$pkgver" + python test_parse.py + python2 test_parse.py +} + + +package_python-parse() { + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE + + cd parse-"$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} + + +package_python2-parse() { + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE + + cd parse-"$pkgver" + python2 setup.py install --root="$pkgdir" --optimize=1 +} Property changes on: python-parse/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
