[gentoo-commits] repo/proj/guru:master commit in: dev-python/orjson-bin/

2023-03-09 Thread Viorel Munteanu
commit: ce197c85a844a639b1c5766c7177ce77a42d3e7d
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu Mar  9 09:37:16 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Thu Mar  9 09:38:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce197c85

dev-python/orjson-bin: treeclean

Closes: https://bugs.gentoo.org/897484
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/orjson-bin/Manifest|  2 -
 dev-python/orjson-bin/metadata.xml| 12 --
 dev-python/orjson-bin/orjson-bin-3.6.7.ebuild | 59 ---
 3 files changed, 73 deletions(-)

diff --git a/dev-python/orjson-bin/Manifest b/dev-python/orjson-bin/Manifest
deleted file mode 100644
index 881d59210..0
--- a/dev-python/orjson-bin/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST orjson-bin-3.6.7-amd64.zip 255321 BLAKE2B 
5c10b6da6e388754e8ba3eac65d96ad5af8cce745877de8c0c73f2747841613b5aaca70be6b718b813e8c0376a33e8e6e8d4ee472bcd86962f47482766392429
 SHA512 
3ace1ab1d610b2a435b09a00b5dea62aec688bc186422397cc7191b910d904e54bc51768c50fe1c67f27d51503cf57e1209597c9281f2972653c171e0c4b0b0b
-DIST orjson-bin-3.6.7-arm64.zip 235165 BLAKE2B 
292a28851d23eb386f5065a336826482c3f96468bebf95c606c30df0d5249ec5b09f0331423349a9e616bbdd59cb465b50d5be77ab42e8216eeadaa41c42ed5b
 SHA512 
a6520cb6744765d939003f39efa8aeda8e6b8fac6f96d8772a3842d0d08a775e2b2a21e775f99ca0b9656a7dbe270d0b83f6ea8f1b9b77f2cb26e71f61800afe

diff --git a/dev-python/orjson-bin/metadata.xml 
b/dev-python/orjson-bin/metadata.xml
deleted file mode 100644
index 24034c9ac..0
--- a/dev-python/orjson-bin/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd'>
-
-   
-   1over...@anche.no
-   Shaoyu Tseng
-   
-   
-   orjson
-   ijl/orjson
-   
-

diff --git a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild 
b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
deleted file mode 100644
index 8d3e031a3..0
--- a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit python-r1
-
-QA_PREBUILT="usr/lib/*"
-DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, 
datetimes, and numpy"
-HOMEPAGE="https://github.com/ijl/orjson;
-
-# As per PEP 600 manylinux platform tag specfication, a wheel tagged
-# manylinux_x_y should work with systems with >=glibc-x.y , and on Python
-# versions 3.8 to 3.10
-SRC_URI="
-   amd64? (
-   
https://files.pythonhosted.org/packages/cp310/${P:0:1}/${PN%%-bin}/${P//-bin}-cp310-cp310-manylinux_2_24_x86_64.whl
-   -> ${P}-amd64.zip
-   )
-   arm64? (
-   
https://files.pythonhosted.org/packages/cp310/${P:0:1}/${PN%%-bin}/${P//-bin}-cp310-cp310-manylinux_2_24_aarch64.whl
-   -> ${P}-arm64.zip
-   )
-   "
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RESTRICT="!test? ( test )"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-BDEPEND="app-arch/unzip"
-RDEPEND="${PYTHON_DEPS}"
-
-pkg_setup() {
-   python_setup
-}
-
-S="${WORKDIR}"
-
-src_install() {
-   if use amd64; then
-   ARCH="x86_64"
-   elif use arm64; then
-   ARCH="aarch64"
-   fi
-   do_install() {
-   local my_installdir="$(python_get_sitedir)"
-   my_installdir="${my_installdir##${EPREFIX}/}"
-   insinto "${my_installdir}"
-   # Even though the soname is compatible, the python version has 
to be
-   # corrected in order for it to work
-   newins orjson/${PN//-bin}.cpython-310-${ARCH}-linux-gnu.so 
${PN//-bin}.cpython-3${EPYTHON##python3.}-${ARCH}-linux-gnu.so
-   python_domodule ${P//-bin}.dist-info
-   }
-   python_foreach_impl do_install
-}



[gentoo-commits] repo/proj/guru:master commit in: dev-python/orjson-bin/

2022-11-30 Thread Haelwenn Monnier
commit: f588d55ff8a463cc6d185bd2ef4f5d9d8e3993b3
Author: Jack Sangdahl <0x6A73  pm  me>
AuthorDate: Mon Nov 28 18:40:55 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon Nov 28 18:41:32 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f588d55f

dev-python/orjson-bin: python 3.10

Signed-off-by: Jack Sangdahl <0x6A73  pm.me>

 dev-python/orjson-bin/orjson-bin-3.6.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild 
b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
index 0f0422ad0..8d3e031a3 100644
--- a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
+++ b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit python-r1
 
 QA_PREBUILT="usr/lib/*"



[gentoo-commits] repo/proj/guru:master commit in: dev-python/orjson-bin/

2022-04-12 Thread Ronny Gutbrod
commit: 104087516f58a957ab485e0390f77fd3682d3f53
Author: Shaoyu Tseng <1over137  anche  no>
AuthorDate: Mon Apr 11 18:38:25 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Apr 11 18:39:50 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10408751

dev-python/orjson-bin: fix EPREFIX duplication

Signed-off-by: Shaoyu Tseng <1over137  anche.no>

 dev-python/orjson-bin/orjson-bin-3.6.7.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild 
b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
index 5f82cd792..0f0422ad0 100644
--- a/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
+++ b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
@@ -47,7 +47,9 @@ src_install() {
ARCH="aarch64"
fi
do_install() {
-   insinto "$(python_get_sitedir)"
+   local my_installdir="$(python_get_sitedir)"
+   my_installdir="${my_installdir##${EPREFIX}/}"
+   insinto "${my_installdir}"
# Even though the soname is compatible, the python version has 
to be
# corrected in order for it to work
newins orjson/${PN//-bin}.cpython-310-${ARCH}-linux-gnu.so 
${PN//-bin}.cpython-3${EPYTHON##python3.}-${ARCH}-linux-gnu.so



[gentoo-commits] repo/proj/guru:master commit in: dev-python/orjson-bin/

2022-04-07 Thread Ronny Gutbrod
commit: 4a09bb92c61ade110799f604cf8b3eec453e56a4
Author: Shaoyu Tseng <1over137  anche  no>
AuthorDate: Wed Apr  6 21:22:49 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Wed Apr  6 21:50:10 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a09bb92

dev-python/orjson-bin: add 3.6.7, drop 3.6.4

Signed-off-by: Shaoyu Tseng <1over137  anche.no>

 dev-python/orjson-bin/Manifest| 4 ++--
 .../orjson-bin/{orjson-bin-3.6.4.ebuild => orjson-bin-3.6.7.ebuild}   | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/orjson-bin/Manifest b/dev-python/orjson-bin/Manifest
index 231bf7bcc..881d59210 100644
--- a/dev-python/orjson-bin/Manifest
+++ b/dev-python/orjson-bin/Manifest
@@ -1,2 +1,2 @@
-DIST orjson-bin-3.6.4-amd64.zip 250007 BLAKE2B 
8d4032eb347b551752203844ecf60e12f6fb12faa5a0bba5f294ad00c876afc006bc6759719d4532794c46b0f129cb370f30b57d6b5a9827078cbcc7d62b8331
 SHA512 
171cc20ffa26ddce0fdc771ff24c1172e0f9bb2be892c810c5c18b0a7421d833b722da925c987a18f57256600301e7c3f46f83e324935d3d857d2026a581de26
-DIST orjson-bin-3.6.4-arm64.zip 231011 BLAKE2B 
a91e9c3c0872e568d41f259dfccaecd35be18e6d01b7d9df89151887019f7951bdf13ecf79edc391fbe39786259ef210971718d32a7a49eb21f0d420d45bf79b
 SHA512 
669ffc93c34275842d9819e3c0f8a0174034d80cf733a5cc988bdc997c3028b68ae8d526698a3e0d582a1339d60d6a99bf7f42cebcfe2e3d5fb2e2cda65a1b10
+DIST orjson-bin-3.6.7-amd64.zip 255321 BLAKE2B 
5c10b6da6e388754e8ba3eac65d96ad5af8cce745877de8c0c73f2747841613b5aaca70be6b718b813e8c0376a33e8e6e8d4ee472bcd86962f47482766392429
 SHA512 
3ace1ab1d610b2a435b09a00b5dea62aec688bc186422397cc7191b910d904e54bc51768c50fe1c67f27d51503cf57e1209597c9281f2972653c171e0c4b0b0b
+DIST orjson-bin-3.6.7-arm64.zip 235165 BLAKE2B 
292a28851d23eb386f5065a336826482c3f96468bebf95c606c30df0d5249ec5b09f0331423349a9e616bbdd59cb465b50d5be77ab42e8216eeadaa41c42ed5b
 SHA512 
a6520cb6744765d939003f39efa8aeda8e6b8fac6f96d8772a3842d0d08a775e2b2a21e775f99ca0b9656a7dbe270d0b83f6ea8f1b9b77f2cb26e71f61800afe

diff --git a/dev-python/orjson-bin/orjson-bin-3.6.4.ebuild 
b/dev-python/orjson-bin/orjson-bin-3.6.7.ebuild
similarity index 100%
rename from dev-python/orjson-bin/orjson-bin-3.6.4.ebuild
rename to dev-python/orjson-bin/orjson-bin-3.6.7.ebuild



[gentoo-commits] repo/proj/guru:master commit in: dev-python/orjson-bin/

2021-10-20 Thread Florian Schmaus
commit: 53a36d8835c21c5e921debebfba911f5866822cd
Author: Shaoyu Tseng  tuta  io>
AuthorDate: Sun Oct 17 16:43:24 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Oct 17 16:43:24 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53a36d88

dev-python/orjson-bin: bump version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Shaoyu Tseng  tuta.io>

 dev-python/orjson-bin/Manifest| 4 ++--
 .../orjson-bin/{orjson-bin-3.6.0.ebuild => orjson-bin-3.6.4.ebuild}   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/orjson-bin/Manifest b/dev-python/orjson-bin/Manifest
index 2fce030d8..231bf7bcc 100644
--- a/dev-python/orjson-bin/Manifest
+++ b/dev-python/orjson-bin/Manifest
@@ -1,2 +1,2 @@
-DIST orjson-bin-3.6.0-amd64.zip 235974 BLAKE2B 
8d80d7b40fa87be2b5a6b25840c02392e411dbce45247e46ebbfef94c15fd9e1596ba7ac6a40a53dde775f68d82b6c66c7350b392ce0f07ad92bb6ae65455767
 SHA512 
e80a7e0c785d6927a1d971553d04fca75e4b13fe5fb099ab362465cdfea69e911918ce94a480e9fead564a795f4a96a594918f4326e407f015b7d3c00ff08764
-DIST orjson-bin-3.6.0-arm64.zip 218609 BLAKE2B 
880852a268f833b906bb6ef1cd7c9f2f40fe6ce043f52a8a7bdf965b4274a2ac0c215849b55da994f8bb328b903bc4a6a9414d0c3f16cb1a9be4f5c029e5b632
 SHA512 
70382465c3676fe3722688e0c223de3c86bb4555c1c996dd586aa782a3ecd3f6003a5c0f4154bfe90c18b2d4027b0a2c169b97315206e656a48557a5415eabd2
+DIST orjson-bin-3.6.4-amd64.zip 250007 BLAKE2B 
8d4032eb347b551752203844ecf60e12f6fb12faa5a0bba5f294ad00c876afc006bc6759719d4532794c46b0f129cb370f30b57d6b5a9827078cbcc7d62b8331
 SHA512 
171cc20ffa26ddce0fdc771ff24c1172e0f9bb2be892c810c5c18b0a7421d833b722da925c987a18f57256600301e7c3f46f83e324935d3d857d2026a581de26
+DIST orjson-bin-3.6.4-arm64.zip 231011 BLAKE2B 
a91e9c3c0872e568d41f259dfccaecd35be18e6d01b7d9df89151887019f7951bdf13ecf79edc391fbe39786259ef210971718d32a7a49eb21f0d420d45bf79b
 SHA512 
669ffc93c34275842d9819e3c0f8a0174034d80cf733a5cc988bdc997c3028b68ae8d526698a3e0d582a1339d60d6a99bf7f42cebcfe2e3d5fb2e2cda65a1b10

diff --git a/dev-python/orjson-bin/orjson-bin-3.6.0.ebuild 
b/dev-python/orjson-bin/orjson-bin-3.6.4.ebuild
similarity index 91%
rename from dev-python/orjson-bin/orjson-bin-3.6.0.ebuild
rename to dev-python/orjson-bin/orjson-bin-3.6.4.ebuild
index e49cfe447..5f82cd792 100644
--- a/dev-python/orjson-bin/orjson-bin-3.6.0.ebuild
+++ b/dev-python/orjson-bin/orjson-bin-3.6.4.ebuild
@@ -50,7 +50,7 @@ src_install() {
insinto "$(python_get_sitedir)"
# Even though the soname is compatible, the python version has 
to be
# corrected in order for it to work
-   newins ${PN//-bin}.cpython-310-${ARCH}-linux-gnu.so 
${PN//-bin}.cpython-3${EPYTHON##python3.}-${ARCH}-linux-gnu.so
+   newins orjson/${PN//-bin}.cpython-310-${ARCH}-linux-gnu.so 
${PN//-bin}.cpython-3${EPYTHON##python3.}-${ARCH}-linux-gnu.so
python_domodule ${P//-bin}.dist-info
}
python_foreach_impl do_install



[gentoo-commits] repo/proj/guru:master commit in: dev-python/orjson-bin/

2021-07-30 Thread Andrew Ammerlaan
commit: 9c308e990aa087c98d1d51ae88d3f05bf0339480
Author: Shaoyu Tseng  tuta  io>
AuthorDate: Thu Jul 29 10:11:22 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Jul 29 10:11:22 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c308e99

dev-python/orjson-bin: new package

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng  tuta.io>

 dev-python/orjson-bin/Manifest|  2 ++
 dev-python/orjson-bin/metadata.xml| 12 +++
 dev-python/orjson-bin/orjson-bin-3.6.0.ebuild | 48 +++
 3 files changed, 62 insertions(+)

diff --git a/dev-python/orjson-bin/Manifest b/dev-python/orjson-bin/Manifest
new file mode 100644
index 0..665d13755
--- /dev/null
+++ b/dev-python/orjson-bin/Manifest
@@ -0,0 +1,2 @@
+DIST orjson-bin-3.6.0_aarch64.zip 218609 BLAKE2B 
880852a268f833b906bb6ef1cd7c9f2f40fe6ce043f52a8a7bdf965b4274a2ac0c215849b55da994f8bb328b903bc4a6a9414d0c3f16cb1a9be4f5c029e5b632
 SHA512 
70382465c3676fe3722688e0c223de3c86bb4555c1c996dd586aa782a3ecd3f6003a5c0f4154bfe90c18b2d4027b0a2c169b97315206e656a48557a5415eabd2
+DIST orjson-bin-3.6.0_x86_64.zip 235974 BLAKE2B 
8d80d7b40fa87be2b5a6b25840c02392e411dbce45247e46ebbfef94c15fd9e1596ba7ac6a40a53dde775f68d82b6c66c7350b392ce0f07ad92bb6ae65455767
 SHA512 
e80a7e0c785d6927a1d971553d04fca75e4b13fe5fb099ab362465cdfea69e911918ce94a480e9fead564a795f4a96a594918f4326e407f015b7d3c00ff08764

diff --git a/dev-python/orjson-bin/metadata.xml 
b/dev-python/orjson-bin/metadata.xml
new file mode 100644
index 0..5093c32b1
--- /dev/null
+++ b/dev-python/orjson-bin/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   shaoyu0...@tuta.io
+   Shaoyu Tseng
+   
+   
+   orjson
+   ijl/orjson
+   
+

diff --git a/dev-python/orjson-bin/orjson-bin-3.6.0.ebuild 
b/dev-python/orjson-bin/orjson-bin-3.6.0.ebuild
new file mode 100644
index 0..c3e93b01f
--- /dev/null
+++ b/dev-python/orjson-bin/orjson-bin-3.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit python-r1 python-utils-r1
+
+MY_PN=${PN//-bin/}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, 
datetimes, and numpy"
+HOMEPAGE="https://github.com/ijl/orjson;
+
+SRC_URI="
+   amd64? (
+   
https://files.pythonhosted.org/packages/cp310/${P:0:1}/${MY_PN}/${MY_P}-cp310-cp310-manylinux_2_24_x86_64.whl
 -> ${P}_x86_64.zip
+   )
+   arm64? (
+   
https://files.pythonhosted.org/packages/cp310/${P:0:1}/${MY_PN}/${MY_P}-cp310-cp310-manylinux_2_24_aarch64.whl
 -> ${P}_aarch64.zip
+   )
+
+   "
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+S="${WORKDIR}/"
+
+pkg_setup() {
+   python_setup
+}
+
+src_install(){
+   insinto "$(python_get_sitedir)"
+   if use amd64; then
+   doins orjson.cpython-310-x86_64-linux-gnu.so
+   dosym  
$(python_get_sitedir)/orjson.cpython-310-x86_64-linux-gnu.so 
$(python_get_sitedir)/orjson.cpython-39-x86_64-linux-gnu.so
+   dosym  
$(python_get_sitedir)/orjson.cpython-310-x86_64-linux-gnu.so 
$(python_get_sitedir)/orjson.cpython-38-x86_64-linux-gnu.so
+   dosym  
$(python_get_sitedir)/orjson.cpython-310-x86_64-linux-gnu.so 
$(python_get_sitedir)/orjson.cpython-37-x86_64-linux-gnu.so
+   elif use arm64; then
+   doins orjson.cpython-310-aarch64-linux-gnu.so
+   dosym  
$(python_get_sitedir)/orjson.cpython-310-aarch64-linux-gnu.so 
$(python_get_sitedir)/orjson.cpython-39-aarch64-linux-gnu.so
+   dosym  
$(python_get_sitedir)/orjson.cpython-310-aarch64-linux-gnu.so 
$(python_get_sitedir)/orjson.cpython-38-aarch64-linux-gnu.so
+   dosym  
$(python_get_sitedir)/orjson.cpython-310-aarch64-linux-gnu.so 
$(python_get_sitedir)/orjson.cpython-37-aarch64-linux-gnu.so
+   fi
+}