[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/, net-im/mautrix-facebook/

2023-02-23 Thread Anna Vyalkova
commit: 8c4dc513a7d3ee2cadd27c1cfd77c1f6c18cd193
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu Feb 23 19:20:12 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Thu Feb 23 19:21:04 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c4dc513

*/*: dev-python/{python-zstandard -> zstandard}

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/fastavro/fastavro-1.7.0.ebuild | 4 ++--
 net-im/mautrix-facebook/mautrix-facebook-0.4.1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/fastavro/fastavro-1.7.0.ebuild 
b/dev-python/fastavro/fastavro-1.7.0.ebuild
index 0ed408778..45c3a430f 100644
--- a/dev-python/fastavro/fastavro-1.7.0.ebuild
+++ b/dev-python/fastavro/fastavro-1.7.0.ebuild
@@ -25,8 +25,8 @@ BDEPEND="
dev-python/lz4[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
-   dev-python/python-zstandard[${PYTHON_USEDEP}]
dev-python/python-snappy[${PYTHON_USEDEP}]
+   dev-python/zstandard[${PYTHON_USEDEP}]
)
 "
 
@@ -56,5 +56,5 @@ python_test() {
 pkg_postinst() {
optfeature "lz4 support" dev-python/lz4
optfeature "snappy support" dev-python/snappy
-   optfeature "zstd support" dev-python/python-zstandard
+   optfeature "zstd support" dev-python/zstandard
 }

diff --git a/net-im/mautrix-facebook/mautrix-facebook-0.4.1.ebuild 
b/net-im/mautrix-facebook/mautrix-facebook-0.4.1.ebuild
index f95243e99..793d0ea62 100644
--- a/net-im/mautrix-facebook/mautrix-facebook-0.4.1.ebuild
+++ b/net-im/mautrix-facebook/mautrix-facebook-0.4.1.ebuild
@@ -28,10 +28,10 @@ RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
-   dev-python/python-zstandard[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
dev-python/unpaddedbase64[${PYTHON_USEDEP}]
dev-python/yarl[${PYTHON_USEDEP}]
+   dev-python/zstandard[${PYTHON_USEDEP}]
 "
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2023-02-03 Thread Andrew Ammerlaan
commit: e9cb8e14fc833b0c01e7060825ac64501369d18e
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Feb  3 21:12:21 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Feb  3 21:12:21 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9cb8e14

dev-python/fastavro: snappy --> python-snappy

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/fastavro/fastavro-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/fastavro/fastavro-1.7.0.ebuild 
b/dev-python/fastavro/fastavro-1.7.0.ebuild
index 267627439..c70fe254b 100644
--- a/dev-python/fastavro/fastavro-1.7.0.ebuild
+++ b/dev-python/fastavro/fastavro-1.7.0.ebuild
@@ -26,7 +26,7 @@ BDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/python-zstandard[${PYTHON_USEDEP}]
-   dev-python/snappy[${PYTHON_USEDEP}]
+   dev-python/python-snappy[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2022-11-04 Thread Anna Vyalkova
commit: 75464915fc7431e173764ebf602143a8d5b12e7e
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Nov  4 13:39:16 2022 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Fri Nov  4 14:10:25 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75464915

dev-python/fastavro: add 1.7.0, drop old

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/fastavro/Manifest  |  3 +-
 dev-python/fastavro/fastavro-1.5.1.ebuild | 47 
 dev-python/fastavro/fastavro-1.5.2.ebuild | 47 
 dev-python/fastavro/fastavro-1.7.0.ebuild | 60 +++
 4 files changed, 61 insertions(+), 96 deletions(-)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
index 5edfe9d9f..b85054b0a 100644
--- a/dev-python/fastavro/Manifest
+++ b/dev-python/fastavro/Manifest
@@ -1,2 +1 @@
-DIST fastavro-1.5.1.tar.gz 761574 BLAKE2B 
fd520edaf533120022cbe6f3cabe5919c952b43bd4d131bb2aacbaded6fbda4d60e8610c12850310c28ac0fc5696301f4ef725c8369057dff9c73b9b35653ada
 SHA512 
6fa2169d4cc26c2176e61da159129e6456296d99bce2d973916d6a0f071feec7b930f985167d7e1e3e0939ec2a5ff387f67e221ff6f52523015af99d4823bf1e
-DIST fastavro-1.5.2.tar.gz 761565 BLAKE2B 
16e4408fa85ee2703a66cb9e8d125a651d879c69475e3137f95283ed974a3b158f0fc7a67de660db06731d45b7952d04b510a08d472fc5a7d86fe5e57a9d264b
 SHA512 
9885291f9ed15da05ee1fc816a95b6fcb269a6c5814efa9f94188c39e5bb0b31dd5afc1c76ae10268a4e128306d66f60c2087d5c0335c1e918e477fabe7f6cf0
+DIST fastavro-1.7.0.tar.gz 787676 BLAKE2B 
8cbf382a2ef727b2daf35c15dd6790f080bc579f0ae85bf35c036c55ff8347b86ab5d1becd5b5951fa30fdd299ea7c2ba677798b50d23743ac20fbf488c36d4a
 SHA512 
132f347c7d257edd76660925a8c6d13b04ff009ba7d5a4719eb59fd5d7f88fd62c3120ba7aeea1da905027f02a0851ffd05a1ef29900ad20dd9ac2b9c1eb38f9

diff --git a/dev-python/fastavro/fastavro-1.5.1.ebuild 
b/dev-python/fastavro/fastavro-1.5.1.ebuild
deleted file mode 100644
index 2802e6c4d..0
--- a/dev-python/fastavro/fastavro-1.5.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-# https://github.com/fastavro/fastavro/issues/558
-EPYTEST_DESELECT=(
-   tests/test_fastavro.py::test_cython_python
-   tests/test_main_cli.py::test_cli_record_output
-   tests/test_main_cli.py::test_cli_stream_input
-   tests/test_main_cli.py::test_cli_arg_metadata
-   tests/test_main_cli.py::test_cli_arg_schema
-   tests/test_main_cli.py::test_cli_arg_codecs
-)
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Fast Avro for Python"
-HOMEPAGE="
-   https://github.com/fastavro/fastavro
-   https://pypi.org/project/fastavro/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND=""
-DEPEND="
-   ${RDEPEND}
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/pandas[${PYTHON_USEDEP}]
-   dev-python/snappy[${PYTHON_USEDEP}]
-   dev-python/zstandard[${PYTHON_USEDEP}]
-   dev-python/lz4[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest

diff --git a/dev-python/fastavro/fastavro-1.5.2.ebuild 
b/dev-python/fastavro/fastavro-1.5.2.ebuild
deleted file mode 100644
index 2802e6c4d..0
--- a/dev-python/fastavro/fastavro-1.5.2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-# https://github.com/fastavro/fastavro/issues/558
-EPYTEST_DESELECT=(
-   tests/test_fastavro.py::test_cython_python
-   tests/test_main_cli.py::test_cli_record_output
-   tests/test_main_cli.py::test_cli_stream_input
-   tests/test_main_cli.py::test_cli_arg_metadata
-   tests/test_main_cli.py::test_cli_arg_schema
-   tests/test_main_cli.py::test_cli_arg_codecs
-)
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Fast Avro for Python"
-HOMEPAGE="
-   https://github.com/fastavro/fastavro
-   https://pypi.org/project/fastavro/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND=""
-DEPEND="
-   ${RDEPEND}
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/pandas[${PYTHON_USEDEP}]
-   dev-python/snappy[${PYTHON_USEDEP}]
-   dev-python/zstandard[${PYTHON_USEDEP}]
-   dev-python/lz4[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest

diff --git a/dev-python/fastavro/fastavro-1.7.0.ebuild 
b/dev-

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2022-06-27 Thread Alessandro Barbieri
commit: b1f0262473e600c35dce9a9e9b61532838c2eeef
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Jun 28 04:23:08 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue Jun 28 04:34:29 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1f02624

dev-python/fastavro: add 1.5.2, drop 1.4.12

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/Manifest| 2 +-
 .../fastavro/{fastavro-1.4.12.ebuild => fastavro-1.5.2.ebuild}  | 6 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
index 6372a7097..5edfe9d9f 100644
--- a/dev-python/fastavro/Manifest
+++ b/dev-python/fastavro/Manifest
@@ -1,2 +1,2 @@
-DIST fastavro-1.4.12.tar.gz 760518 BLAKE2B 
7422e6e664ff6ceface6b3d8d39e6437233b12d62f771d1516920e7e7c3a0c8d23ac2fc82ff2acdac5d21314c0f2978b97fce96bbe2fedb587001672e3984e10
 SHA512 
fe5de909081dfaa4fa8575355f03d533ebe628182bc9716529a7f6c668444a34e8975ae90bc4d588dac2271a0913a49ac6457db0d256c54637995e16cd98281d
 DIST fastavro-1.5.1.tar.gz 761574 BLAKE2B 
fd520edaf533120022cbe6f3cabe5919c952b43bd4d131bb2aacbaded6fbda4d60e8610c12850310c28ac0fc5696301f4ef725c8369057dff9c73b9b35653ada
 SHA512 
6fa2169d4cc26c2176e61da159129e6456296d99bce2d973916d6a0f071feec7b930f985167d7e1e3e0939ec2a5ff387f67e221ff6f52523015af99d4823bf1e
+DIST fastavro-1.5.2.tar.gz 761565 BLAKE2B 
16e4408fa85ee2703a66cb9e8d125a651d879c69475e3137f95283ed974a3b158f0fc7a67de660db06731d45b7952d04b510a08d472fc5a7d86fe5e57a9d264b
 SHA512 
9885291f9ed15da05ee1fc816a95b6fcb269a6c5814efa9f94188c39e5bb0b31dd5afc1c76ae10268a4e128306d66f60c2087d5c0335c1e918e477fabe7f6cf0

diff --git a/dev-python/fastavro/fastavro-1.4.12.ebuild 
b/dev-python/fastavro/fastavro-1.5.2.ebuild
similarity index 94%
rename from dev-python/fastavro/fastavro-1.4.12.ebuild
rename to dev-python/fastavro/fastavro-1.5.2.ebuild
index 7a5627d28..2802e6c4d 100644
--- a/dev-python/fastavro/fastavro-1.4.12.ebuild
+++ b/dev-python/fastavro/fastavro-1.5.2.ebuild
@@ -32,6 +32,7 @@ RDEPEND=""
 DEPEND="
${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
 "
 BDEPEND="
test? (
@@ -43,9 +44,4 @@ BDEPEND="
)
 "
 
-src_configure() {
-   export FASTAVRO_USE_CYTHON=1
-   default
-}
-
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2022-06-14 Thread Alessandro Barbieri
commit: 65dad095e60fae2cab067e61c4f938ef6a13048c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jun 13 22:35:57 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue Jun 14 08:00:25 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=65dad095

dev-python/fastavro: add 1.5.1, drop 1.4.11

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/Manifest   | 2 +-
 .../fastavro/{fastavro-1.4.11.ebuild => fastavro-1.5.1.ebuild} | 7 ++-
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
index 30a14cfe7..6372a7097 100644
--- a/dev-python/fastavro/Manifest
+++ b/dev-python/fastavro/Manifest
@@ -1,2 +1,2 @@
-DIST fastavro-1.4.11.tar.gz 733536 BLAKE2B 
6a2ceea6d72f49c08ea655c4927967e492bbf70e34d4168b9a751b61778d1d488dbe3e80e7667ef8530142c61744f053c262cb89fbecd8e9ba947cc5d6e48cd9
 SHA512 
0376395bfb1cf53eaeca90cdefa99394bc0e3499858bd62a62acda841da5135c3d82ba7ff613c96a4b4f9f8058e2f933b1180b8bd34070c48c48473835212ea2
 DIST fastavro-1.4.12.tar.gz 760518 BLAKE2B 
7422e6e664ff6ceface6b3d8d39e6437233b12d62f771d1516920e7e7c3a0c8d23ac2fc82ff2acdac5d21314c0f2978b97fce96bbe2fedb587001672e3984e10
 SHA512 
fe5de909081dfaa4fa8575355f03d533ebe628182bc9716529a7f6c668444a34e8975ae90bc4d588dac2271a0913a49ac6457db0d256c54637995e16cd98281d
+DIST fastavro-1.5.1.tar.gz 761574 BLAKE2B 
fd520edaf533120022cbe6f3cabe5919c952b43bd4d131bb2aacbaded6fbda4d60e8610c12850310c28ac0fc5696301f4ef725c8369057dff9c73b9b35653ada
 SHA512 
6fa2169d4cc26c2176e61da159129e6456296d99bce2d973916d6a0f071feec7b930f985167d7e1e3e0939ec2a5ff387f67e221ff6f52523015af99d4823bf1e

diff --git a/dev-python/fastavro/fastavro-1.4.11.ebuild 
b/dev-python/fastavro/fastavro-1.5.1.ebuild
similarity index 93%
rename from dev-python/fastavro/fastavro-1.4.11.ebuild
rename to dev-python/fastavro/fastavro-1.5.1.ebuild
index f11f2d1ac..2802e6c4d 100644
--- a/dev-python/fastavro/fastavro-1.4.11.ebuild
+++ b/dev-python/fastavro/fastavro-1.5.1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 # https://github.com/fastavro/fastavro/issues/558
 EPYTEST_DESELECT=(
tests/test_fastavro.py::test_cython_python
@@ -31,6 +32,7 @@ RDEPEND=""
 DEPEND="
${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
 "
 BDEPEND="
test? (
@@ -42,9 +44,4 @@ BDEPEND="
)
 "
 
-src_configure() {
-   export FASTAVRO_USE_CYTHON=1
-   default
-}
-
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2022-05-24 Thread Alessandro Barbieri
commit: bf8d9dd7f8616c4fcf8c5932291cf972176f
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue May 24 16:49:28 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue May 24 17:36:40 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf8d9ddd

dev-python/fastavro: add 1.4.12, drop 1.4.10

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/Manifest   | 2 +-
 dev-python/fastavro/{fastavro-1.4.10.ebuild => fastavro-1.4.12.ebuild} | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
index f615bc18f..30a14cfe7 100644
--- a/dev-python/fastavro/Manifest
+++ b/dev-python/fastavro/Manifest
@@ -1,2 +1,2 @@
-DIST fastavro-1.4.10.tar.gz 733839 BLAKE2B 
90bd57d5da0575a4b321dd31a3152531cce2a36626c51261e390b4f5f32d82fe3b1ea41ddd5e5885618ec5cb849a9a3620a8caf745c7782ecc2b3496bdf88998
 SHA512 
f3a474a56ef79dd54b71f18961520489fa848548fbbaac2c18d87c933d6c263762f73c56d9540b18ceb221d0184398ae085bfecd1c4cdb7236fd9160be94003b
 DIST fastavro-1.4.11.tar.gz 733536 BLAKE2B 
6a2ceea6d72f49c08ea655c4927967e492bbf70e34d4168b9a751b61778d1d488dbe3e80e7667ef8530142c61744f053c262cb89fbecd8e9ba947cc5d6e48cd9
 SHA512 
0376395bfb1cf53eaeca90cdefa99394bc0e3499858bd62a62acda841da5135c3d82ba7ff613c96a4b4f9f8058e2f933b1180b8bd34070c48c48473835212ea2
+DIST fastavro-1.4.12.tar.gz 760518 BLAKE2B 
7422e6e664ff6ceface6b3d8d39e6437233b12d62f771d1516920e7e7c3a0c8d23ac2fc82ff2acdac5d21314c0f2978b97fce96bbe2fedb587001672e3984e10
 SHA512 
fe5de909081dfaa4fa8575355f03d533ebe628182bc9716529a7f6c668444a34e8975ae90bc4d588dac2271a0913a49ac6457db0d256c54637995e16cd98281d

diff --git a/dev-python/fastavro/fastavro-1.4.10.ebuild 
b/dev-python/fastavro/fastavro-1.4.12.ebuild
similarity index 97%
rename from dev-python/fastavro/fastavro-1.4.10.ebuild
rename to dev-python/fastavro/fastavro-1.4.12.ebuild
index f11f2d1ac..7a5627d28 100644
--- a/dev-python/fastavro/fastavro-1.4.10.ebuild
+++ b/dev-python/fastavro/fastavro-1.4.12.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 # https://github.com/fastavro/fastavro/issues/558
 EPYTEST_DESELECT=(
tests/test_fastavro.py::test_cython_python



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2022-05-02 Thread Alessandro Barbieri
commit: aca8f0df09970ff299295a615910919567fd9868
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon May  2 19:52:54 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon May  2 20:01:15 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aca8f0df

dev-python/fastavro: add 1.4.11, drop 1.4.7

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/Manifest  | 2 +-
 .../fastavro/{fastavro-1.4.7.ebuild => fastavro-1.4.11.ebuild}| 8 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
index e03197941..f615bc18f 100644
--- a/dev-python/fastavro/Manifest
+++ b/dev-python/fastavro/Manifest
@@ -1,2 +1,2 @@
 DIST fastavro-1.4.10.tar.gz 733839 BLAKE2B 
90bd57d5da0575a4b321dd31a3152531cce2a36626c51261e390b4f5f32d82fe3b1ea41ddd5e5885618ec5cb849a9a3620a8caf745c7782ecc2b3496bdf88998
 SHA512 
f3a474a56ef79dd54b71f18961520489fa848548fbbaac2c18d87c933d6c263762f73c56d9540b18ceb221d0184398ae085bfecd1c4cdb7236fd9160be94003b
-DIST fastavro-1.4.7.tar.gz 728167 BLAKE2B 
91eadad0fdcced3c0dd88456f88ac4f73f4eb07731a527cb70f89d7f3b45eec7688c776ffb221734c5495ed74bdd69946b1c1370fb92f46db9f85b0d0e26b706
 SHA512 
846c7aec326f212e8c7f707dfba52d06ee757d218037f0011e1f7fe158b454862cb27bf78a7bfcef8fe54717bd83fd7c7c09f71a6dff654037476537d50fcc80
+DIST fastavro-1.4.11.tar.gz 733536 BLAKE2B 
6a2ceea6d72f49c08ea655c4927967e492bbf70e34d4168b9a751b61778d1d488dbe3e80e7667ef8530142c61744f053c262cb89fbecd8e9ba947cc5d6e48cd9
 SHA512 
0376395bfb1cf53eaeca90cdefa99394bc0e3499858bd62a62acda841da5135c3d82ba7ff613c96a4b4f9f8058e2f933b1180b8bd34070c48c48473835212ea2

diff --git a/dev-python/fastavro/fastavro-1.4.7.ebuild 
b/dev-python/fastavro/fastavro-1.4.11.ebuild
similarity index 86%
rename from dev-python/fastavro/fastavro-1.4.7.ebuild
rename to dev-python/fastavro/fastavro-1.4.11.ebuild
index eb3dabce3..f11f2d1ac 100644
--- a/dev-python/fastavro/fastavro-1.4.7.ebuild
+++ b/dev-python/fastavro/fastavro-1.4.11.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+# https://github.com/fastavro/fastavro/issues/558
 EPYTEST_DESELECT=(
tests/test_fastavro.py::test_cython_python
tests/test_main_cli.py::test_cli_record_output
@@ -41,6 +42,9 @@ BDEPEND="
)
 "
 
-FASTAVRO_USE_CYTHON=1
+src_configure() {
+   export FASTAVRO_USE_CYTHON=1
+   default
+}
 
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2022-03-16 Thread Alessandro Barbieri
commit: 2dbffda82b2173664833fd56131ea21052b8de29
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Mar 17 01:37:26 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Thu Mar 17 01:37:26 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2dbffda8

dev-python/fastavro: add 1.4.10

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/Manifest   |  1 +
 dev-python/fastavro/fastavro-1.4.10.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
index 6ef1643f5..e03197941 100644
--- a/dev-python/fastavro/Manifest
+++ b/dev-python/fastavro/Manifest
@@ -1 +1,2 @@
+DIST fastavro-1.4.10.tar.gz 733839 BLAKE2B 
90bd57d5da0575a4b321dd31a3152531cce2a36626c51261e390b4f5f32d82fe3b1ea41ddd5e5885618ec5cb849a9a3620a8caf745c7782ecc2b3496bdf88998
 SHA512 
f3a474a56ef79dd54b71f18961520489fa848548fbbaac2c18d87c933d6c263762f73c56d9540b18ceb221d0184398ae085bfecd1c4cdb7236fd9160be94003b
 DIST fastavro-1.4.7.tar.gz 728167 BLAKE2B 
91eadad0fdcced3c0dd88456f88ac4f73f4eb07731a527cb70f89d7f3b45eec7688c776ffb221734c5495ed74bdd69946b1c1370fb92f46db9f85b0d0e26b706
 SHA512 
846c7aec326f212e8c7f707dfba52d06ee757d218037f0011e1f7fe158b454862cb27bf78a7bfcef8fe54717bd83fd7c7c09f71a6dff654037476537d50fcc80

diff --git a/dev-python/fastavro/fastavro-1.4.10.ebuild 
b/dev-python/fastavro/fastavro-1.4.10.ebuild
new file mode 100644
index 0..f11f2d1ac
--- /dev/null
+++ b/dev-python/fastavro/fastavro-1.4.10.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# https://github.com/fastavro/fastavro/issues/558
+EPYTEST_DESELECT=(
+   tests/test_fastavro.py::test_cython_python
+   tests/test_main_cli.py::test_cli_record_output
+   tests/test_main_cli.py::test_cli_stream_input
+   tests/test_main_cli.py::test_cli_arg_metadata
+   tests/test_main_cli.py::test_cli_arg_schema
+   tests/test_main_cli.py::test_cli_arg_codecs
+)
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Fast Avro for Python"
+HOMEPAGE="
+   https://github.com/fastavro/fastavro
+   https://pypi.org/project/fastavro/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND="
+   ${RDEPEND}
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/snappy[${PYTHON_USEDEP}]
+   dev-python/zstandard[${PYTHON_USEDEP}]
+   dev-python/lz4[${PYTHON_USEDEP}]
+   )
+"
+
+src_configure() {
+   export FASTAVRO_USE_CYTHON=1
+   default
+}
+
+distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2021-11-01 Thread Alessandro Barbieri
commit: 1c2e6e34bbca9f6bfdbb5343d7278f444b259bf1
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Nov  1 21:13:43 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue Nov  2 03:40:36 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c2e6e34

dev-python/fastavro: add 1.4.7, drop 1.4.5

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/Manifest | 2 +-
 dev-python/fastavro/{fastavro-1.4.5.ebuild => fastavro-1.4.7.ebuild} | 4 
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
index 9c8b4ca8d..6ef1643f5 100644
--- a/dev-python/fastavro/Manifest
+++ b/dev-python/fastavro/Manifest
@@ -1 +1 @@
-DIST fastavro-1.4.5.tar.gz 727602 BLAKE2B 
dc7c50e230d34d82de3de5cd44bb066836cdbbb5d61959f21afd52289ad47fe3b7d1d60fc57dc9f81ffdb05483afc4533bf05bf6428ab914a97d7637712395da
 SHA512 
22c31daa9dff10fb582c2fbff48a5c3205e9fd22e24783c1b4771f937aa21e3b3fa74c73be97199176ebc86088db717cb7233096c6d7f42a871fa038de542108
+DIST fastavro-1.4.7.tar.gz 728167 BLAKE2B 
91eadad0fdcced3c0dd88456f88ac4f73f4eb07731a527cb70f89d7f3b45eec7688c776ffb221734c5495ed74bdd69946b1c1370fb92f46db9f85b0d0e26b706
 SHA512 
846c7aec326f212e8c7f707dfba52d06ee757d218037f0011e1f7fe158b454862cb27bf78a7bfcef8fe54717bd83fd7c7c09f71a6dff654037476537d50fcc80

diff --git a/dev-python/fastavro/fastavro-1.4.5.ebuild 
b/dev-python/fastavro/fastavro-1.4.7.ebuild
similarity index 96%
rename from dev-python/fastavro/fastavro-1.4.5.ebuild
rename to dev-python/fastavro/fastavro-1.4.7.ebuild
index 29d52d93c..45d430816 100644
--- a/dev-python/fastavro/fastavro-1.4.5.ebuild
+++ b/dev-python/fastavro/fastavro-1.4.7.ebuild
@@ -30,6 +30,8 @@ RDEPEND=""
 DEPEND="
${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
+"
+BDEPEND="
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
@@ -39,4 +41,6 @@ DEPEND="
)
 "
 
+FASTAVRO_USE_CYTHON=1
+
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2021-10-08 Thread Alessandro Barbieri
commit: 3e1662771fc933061035400f0bacb213988b9afa
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Oct  9 02:40:46 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Oct  9 02:50:06 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e166277

dev-python/fastavro: enable py3.10, py3.9

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/fastavro-1.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/fastavro/fastavro-1.4.5.ebuild 
b/dev-python/fastavro/fastavro-1.4.5.ebuild
index f255bea08..29d52d93c 100644
--- a/dev-python/fastavro/fastavro-1.4.5.ebuild
+++ b/dev-python/fastavro/fastavro-1.4.5.ebuild
@@ -11,7 +11,7 @@ EPYTEST_DESELECT=(
tests/test_main_cli.py::test_cli_arg_schema
tests/test_main_cli.py::test_cli_arg_codecs
 )
-PYTHON_COMPAT=( python3_8 )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2021-10-03 Thread Alessandro Barbieri
commit: da695987ca7b31541954a2e2064f4f2b36c43609
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Oct  3 22:44:40 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Oct  3 22:44:40 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da695987

dev-python/fastavro: deselect failing tests

Closes: https://bugs.gentoo.org/815649
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/fastavro-1.4.5.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/fastavro/fastavro-1.4.5.ebuild 
b/dev-python/fastavro/fastavro-1.4.5.ebuild
index 358c1e73c..f255bea08 100644
--- a/dev-python/fastavro/fastavro-1.4.5.ebuild
+++ b/dev-python/fastavro/fastavro-1.4.5.ebuild
@@ -3,7 +3,14 @@
 
 EAPI=8
 
-EPYTEST_DESELECT=( tests/test_fastavro.py::test_cython_python )
+EPYTEST_DESELECT=(
+   tests/test_fastavro.py::test_cython_python
+   tests/test_main_cli.py::test_cli_record_output
+   tests/test_main_cli.py::test_cli_stream_input
+   tests/test_main_cli.py::test_cli_arg_metadata
+   tests/test_main_cli.py::test_cli_arg_schema
+   tests/test_main_cli.py::test_cli_arg_codecs
+)
 PYTHON_COMPAT=( python3_8 )
 
 inherit distutils-r1



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2021-09-27 Thread Alessandro Barbieri
commit: 9e42e072351e534f17b942ddcba0489f2cb9a1cf
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Sep 27 16:00:42 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Sep 27 16:47:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e42e072

dev-python/fastavro: initial import

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/Manifest  |  1 +
 dev-python/fastavro/fastavro-1.4.5.ebuild | 35 +++
 dev-python/fastavro/metadata.xml  | 16 ++
 3 files changed, 52 insertions(+)

diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest
new file mode 100644
index 0..9c8b4ca8d
--- /dev/null
+++ b/dev-python/fastavro/Manifest
@@ -0,0 +1 @@
+DIST fastavro-1.4.5.tar.gz 727602 BLAKE2B 
dc7c50e230d34d82de3de5cd44bb066836cdbbb5d61959f21afd52289ad47fe3b7d1d60fc57dc9f81ffdb05483afc4533bf05bf6428ab914a97d7637712395da
 SHA512 
22c31daa9dff10fb582c2fbff48a5c3205e9fd22e24783c1b4771f937aa21e3b3fa74c73be97199176ebc86088db717cb7233096c6d7f42a871fa038de542108

diff --git a/dev-python/fastavro/fastavro-1.4.5.ebuild 
b/dev-python/fastavro/fastavro-1.4.5.ebuild
new file mode 100644
index 0..77676d82e
--- /dev/null
+++ b/dev-python/fastavro/fastavro-1.4.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EPYTEST_DESELECT=( tests/test_fastavro.py::test_cython_python )
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Fast Avro for Python"
+HOMEPAGE="
+   https://github.com/fastavro/fastavro
+   https://pypi.org/project/fastavro
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND="
+   ${RDEPEND}
+   dev-python/cython[${PYTHON_USEDEP}]
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/snappy[${PYTHON_USEDEP}]
+   dev-python/zstandard[${PYTHON_USEDEP}]
+   dev-python/lz4[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest

diff --git a/dev-python/fastavro/metadata.xml b/dev-python/fastavro/metadata.xml
new file mode 100644
index 0..4e9c12ab6
--- /dev/null
+++ b/dev-python/fastavro/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   lssndrbarbi...@gmail.com
+   Alessandro Barbieri
+   
+   
+Because the Apache Python avro package is written in pure Python, it is 
relatively slow. In one test case, it takes about 14 seconds to iterate through 
a file of 10,000 records. By comparison, the JAVA avro SDK reads the same file 
in 1.9 seconds.
+The fastavro library was written to offer performance comparable to the Java 
library. With regular CPython, fastavro uses C extensions which allow it to 
iterate the same 10,000 record file in 1.7 seconds. With PyPy, this drops to 
1.5 seconds (to be fair, the JAVA benchmark is doing some extra JSON 
encoding/decoding).
+
+   
+   fastavro/fastavro
+   fastavro
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/fastavro/

2021-09-27 Thread Alessandro Barbieri
commit: 0b461a83e4dceba00ea46dfb0de45b5e55c652c3
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Sep 27 16:02:05 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Sep 27 16:47:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b461a83

dev-python/fastavro: disable py3.10, py3.9

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/fastavro/fastavro-1.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/fastavro/fastavro-1.4.5.ebuild 
b/dev-python/fastavro/fastavro-1.4.5.ebuild
index 77676d82e..358c1e73c 100644
--- a/dev-python/fastavro/fastavro-1.4.5.ebuild
+++ b/dev-python/fastavro/fastavro-1.4.5.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 EPYTEST_DESELECT=( tests/test_fastavro.py::test_cython_python )
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_8 )
 
 inherit distutils-r1