mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
SimpleJSON 2.6.1
This commit is contained in:
parent
179d7dc45e
commit
46627373e4
@ -1,29 +0,0 @@
|
|||||||
#
|
|
||||||
# Chakra Packages for Chakra, part of chakra-project.org
|
|
||||||
#
|
|
||||||
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
||||||
|
|
||||||
# include global config
|
|
||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
||||||
|
|
||||||
pkgname=python-simplejson
|
|
||||||
pkgver=2.1.1
|
|
||||||
pkgrel=2
|
|
||||||
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
|
|
||||||
license=('MIT')
|
|
||||||
arch=('any')
|
|
||||||
url="http://undefined.org/python/#simplejson"
|
|
||||||
depends=('python2')
|
|
||||||
makedepends=('python-distribute')
|
|
||||||
source=(http://pypi.python.org/packages/source/s/simplejson/simplejson-${pkgver}.tar.gz)
|
|
||||||
md5sums=('0bbe3a2e5e4cac040013733aca159d89')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd ${srcdir}/simplejson-${pkgver}
|
|
||||||
|
|
||||||
python2 setup.py install --root=${pkgdir}
|
|
||||||
|
|
||||||
# License
|
|
||||||
install -Dm644 ${srcdir}/simplejson-${pkgver}/LICENSE.txt \
|
|
||||||
${pkgdir}/usr/share/licenses/python-simplejson/LICENSE
|
|
||||||
}
|
|
29
python2-simplejson/PKGBUILD
Normal file
29
python2-simplejson/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#
|
||||||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
|
||||||
|
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
|
||||||
|
|
||||||
|
pkgname=python2-simplejson
|
||||||
|
_pkgname=simplejson
|
||||||
|
pkgver=2.6.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
|
||||||
|
license=('MIT')
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/simplejson/simplejson"
|
||||||
|
depends=('python2')
|
||||||
|
makedepends=('python-distribute')
|
||||||
|
replaces=(python-simplejson)
|
||||||
|
provices=(python-simplejson)
|
||||||
|
source=(http://pypi.python.org/packages/source/s/$_pkgname/$_pkgname-${pkgver}.tar.gz)
|
||||||
|
md5sums=('03fbb6c4a4d37a767af7848f902e2ad4')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${srcdir}/$_pkgname-${pkgver}
|
||||||
|
python2 setup.py install --root=${pkgdir}
|
||||||
|
|
||||||
|
# License
|
||||||
|
install -Dm644 ${srcdir}/$_pkgname-${pkgver}/LICENSE.txt \
|
||||||
|
${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user