summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Aznarán Laos2022-01-12 15:41:49 -0500
committerCarlos Aznarán Laos2022-01-12 15:41:49 -0500
commit85f909dbe408df1a6d76bb2d9f5a81177a1c40df (patch)
tree6c1d8debfc9657e2ad4ffa6276d6a60dc6f4bbee
parent70780c4e46847aea49f19321e066110a1eb9e1ce (diff)
downloadaur-85f909dbe408df1a6d76bb2d9f5a81177a1c40df.tar.gz
Remove check() function
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD39
3 files changed, 20 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 709c56250ed..403f78084b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = python2-simplejson
pkgdesc = Simple, fast, extensible JSON encoder/decoder for python2
- pkgver = 3.17.5
+ pkgver = 3.17.6
pkgrel = 1
url = https://github.com/simplejson/simplejson
arch = x86_64
license = MIT
- checkdepends = python2-pytest-runner
makedepends = python2-setuptools
depends = python2
- source = python2-simplejson-3.17.5.tar.gz::https://github.com/simplejson/simplejson/archive/v3.17.5.tar.gz
- sha512sums = cfde404fd896030a65749f2c29c9d9e603e51c90b977777caa7749d8fa0c400ff6cf7d49c23afd650aaffddaa6407ac6d68454caa0ea703410a84f38cb6a5bed
+ source = https://github.com/simplejson/simplejson/archive/v3.17.6.tar.gz
+ sha512sums = 48b74388cd3a5cf0acf46a9aa050d628513d842297625f791c7ae07a7c9289afcb0be8d374f77af3bebd50f4c200844bc69f5b77a67220fee357cdfc0d913726
pkgname = python2-simplejson
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f59ec20aabf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+* \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index f60fee95095..e0196066a75 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,29 @@
+# Contributor: Yoan Blanc <yoan@dosimple.ch>
+# Contributor: Eli Schwartz <eschwartz@archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: David Moore <davidm@sjsoft.com>
-
-pkgname=python2-simplejson
-pkgver=3.17.5
+_base=simplejson
+pkgname=python2-${_base}
+pkgver=3.17.6
pkgrel=1
pkgdesc='Simple, fast, extensible JSON encoder/decoder for python2'
license=('MIT')
arch=('x86_64')
-url='https://github.com/simplejson/simplejson'
-depends=('python2')
-makedepends=('python2-setuptools')
-checkdepends=('python2-pytest-runner')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha512sums=('cfde404fd896030a65749f2c29c9d9e603e51c90b977777caa7749d8fa0c400ff6cf7d49c23afd650aaffddaa6407ac6d68454caa0ea703410a84f38cb6a5bed')
+url="https://github.com/${_base}/${_base}"
+depends=(python2)
+makedepends=(python2-setuptools)
+source=(${url}/archive/v${pkgver}.tar.gz)
+sha512sums=('48b74388cd3a5cf0acf46a9aa050d628513d842297625f791c7ae07a7c9289afcb0be8d374f77af3bebd50f4c200844bc69f5b77a67220fee357cdfc0d913726')
build() {
- cd "${srcdir}"/simplejson-${pkgver}
-
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}"/simplejson-${pkgver}
-
- python2 setup.py pytest
+ cd "${_base}-${pkgver}"
+ python2 setup.py build
}
-package_python2-simplejson() {
- cd simplejson-${pkgver}
-
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+package() {
+ cd "${_base}-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}