mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-ultrajson: update to 5.1.0.
This commit is contained in:
parent
07c35aab51
commit
cecc606ed8
2 changed files with 19 additions and 2 deletions
17
srcpkgs/python3-ultrajson/patches/no-strip.patch
Normal file
17
srcpkgs/python3-ultrajson/patches/no-strip.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Effectively reverts
|
||||||
|
|
||||||
|
https://github.com/ultrajson/ultrajson/commit/682c6601569980e9a8a05378d3c1478db30384bc
|
||||||
|
|
||||||
|
to preserve a meaningful debug package.
|
||||||
|
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
],
|
||||||
|
include_dirs=["./python", "./lib", "./deps/double-conversion/double-conversion"],
|
||||||
|
extra_compile_args=["-D_GNU_SOURCE"],
|
||||||
|
- extra_link_args=["-lstdc++", "-lm"] + strip_flags,
|
||||||
|
+ extra_link_args=["-lstdc++", "-lm"],
|
||||||
|
)
|
||||||
|
|
||||||
|
with open("python/version_template.h") as f:
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python3-ultrajson'
|
# Template file for 'python3-ultrajson'
|
||||||
pkgname=python3-ultrajson
|
pkgname=python3-ultrajson
|
||||||
version=4.3.0
|
version=5.1.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="ujson-${version}"
|
wrksrc="ujson-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/ultrajson/ultrajson"
|
homepage="https://github.com/ultrajson/ultrajson"
|
||||||
distfiles="${PYPI_SITE}/u/ujson/ujson-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/u/ujson/ujson-${version}.tar.gz"
|
||||||
checksum=baee56eca35cb5fbe02c28bd9c0936be41a96fa5c0812d9d4b7edeb5c3d568a0
|
checksum=a88944d2f99db71a3ca0c63d81f37e55b660edde0b07216fb65a3e46403ef004
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
|
|
Loading…
Add table
Reference in a new issue