mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 09:22:27 +01:00
python2-jsonpickle: add initial PKGBUILD.
This commit is contained in:
commit
b6de85dbc4
2 changed files with 42 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pkgbase = python2-jsonpickle
|
||||
pkgdesc = a library for the two-way conversion of complex Python objects and JSON
|
||||
pkgver = 0.6.1
|
||||
pkgrel = 1
|
||||
url = http://jsonpickle.github.com/
|
||||
arch = any
|
||||
license = BSD
|
||||
makedepends = python2-distribute
|
||||
depends = python2
|
||||
source = http://pypi.python.org/packages/source/j/jsonpickle/jsonpickle-0.6.1.tar.gz
|
||||
md5sums = 13684df11d9bc768b05146abcc947853
|
||||
|
||||
pkgname = python2-jsonpickle
|
||||
|
||||
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
|
||||
pkgname=python2-jsonpickle
|
||||
pkgver=0.6.1
|
||||
pkgrel=1
|
||||
pkgdesc="a library for the two-way conversion of complex Python objects and JSON"
|
||||
arch=('any')
|
||||
url="http://jsonpickle.github.com/"
|
||||
license=('BSD')
|
||||
depends=('python2')
|
||||
makedepends=('python2-distribute')
|
||||
|
||||
source=("http://pypi.python.org/packages/source/j/jsonpickle/jsonpickle-$pkgver.tar.gz")
|
||||
md5sums=('13684df11d9bc768b05146abcc947853')
|
||||
|
||||
build() {
|
||||
cd "jsonpickle-$pkgver"
|
||||
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "jsonpickle-$pkgver"
|
||||
|
||||
python2 setup.py install --root="$pkgdir"/ --optimize=1
|
||||
|
||||
install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
Loading…
Add table
Reference in a new issue