* [gentoo-commits] proj/sci:master commit in: dev-python/smart-open/
@ 2023-03-17 13:35 Andrew Ammerlaan
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2023-03-17 13:35 UTC (permalink / raw
To: gentoo-commits
commit: 1464b242be8277caf2fcd2abf6abf3027d39bc08
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 13:23:58 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 13:35:15 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1464b242
dev-python/smart-open: new package, add 6.3.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/smart-open/metadata.xml | 12 +++++++++
dev-python/smart-open/smart-open-6.3.0.ebuild | 35 +++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-python/smart-open/metadata.xml b/dev-python/smart-open/metadata.xml
new file mode 100644
index 000000000..6c86761f0
--- /dev/null
+++ b/dev-python/smart-open/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">RaRe-Technologies/smart_open</remote-id>
+ <remote-id type="pypi">smart-open</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/smart-open/smart-open-6.3.0.ebuild b/dev-python/smart-open/smart-open-6.3.0.ebuild
new file mode 100644
index 000000000..b585f1d4b
--- /dev/null
+++ b/dev-python/smart-open/smart-open-6.3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="Utils for streaming large files (S3, HDFS, gzip, bz2...) "
+HOMEPAGE="https://github.com/RaRe-Technologies/smart_open"
+SRC_URI="https://github.com/RaRe-Technologies/smart_open/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN//-/_}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/boto3[${PYTHON_USEDEP}]
+ dev-python/google-cloud-storage[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/paramiko[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/moto[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/smart-open/
@ 2024-06-19 10:41 Andrew Ammerlaan
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2024-06-19 10:41 UTC (permalink / raw
To: gentoo-commits
commit: 3b35ba4701f827a3a101f3517d0eb2122b41785c
Author: Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Mon Jun 17 21:41:28 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 10:14:20 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3b35ba47
dev-python/smart-open: py3.12 compat; disable tests (broken in py3.11)
upstream URL update is automatic forward
Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/smart-open/smart-open-6.3.0.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/dev-python/smart-open/smart-open-6.3.0.ebuild b/dev-python/smart-open/smart-open-6.3.0.ebuild
index b585f1d4b..f61752492 100644
--- a/dev-python/smart-open/smart-open-6.3.0.ebuild
+++ b/dev-python/smart-open/smart-open-6.3.0.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Utils for streaming large files (S3, HDFS, gzip, bz2...) "
-HOMEPAGE="https://github.com/RaRe-Technologies/smart_open"
-SRC_URI="https://github.com/RaRe-Technologies/smart_open/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+HOMEPAGE="https://github.com/piskvorky/smart_open"
+SRC_URI="https://github.com/piskvorky/smart_open/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN//-/_}-${PV}"
LICENSE="MIT"
@@ -26,10 +26,11 @@ RDEPEND="
BDEPEND="
test? (
- dev-python/moto[${PYTHON_USEDEP}]
+ <dev-python/moto-5[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
)
"
+RESTRICT="test" # 329 tests, 1 error: missing azure-storage-blob, azure-common[no ebuild], azure-core
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-19 10:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 10:41 [gentoo-commits] proj/sci:master commit in: dev-python/smart-open/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2023-03-17 13:35 Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox