[arch-commits] Commit in python-anyjson/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 20:23:23 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:23:23
Author: foutrelis
Revision: 1058175
archrelease: copy trunk to community-staging-any
Added:
python-anyjson/repos/community-staging-any/
python-anyjson/repos/community-staging-any/PKGBUILD
(from rev 1058171, python-anyjson/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-anyjson/repos/community-staging-any/PKGBUILD (from rev 1058171, python-anyjson/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:23:23 UTC (rev 1058175)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
+# Contributor: p2k <Patrick.Schneider at uni-ulm.de>
+
+_pypiname=anyjson
+pkgname=python-$_pypiname
+pkgver=0.3.3
+pkgrel=15
+pkgdesc="Wraps the best available JSON implementation available in a common interface"
+arch=(any)
+url="https://pypi.python.org/pypi/$_pypiname"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/a/$_pypiname/$_pypiname-${pkgver}.tar.gz")
+md5sums=('2ea28d6ec311aeeebaf993cb3008b27c')
+
+build() {
+ cd "$_pypiname-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "$_pypiname-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list