[gentoo-commits] proj/sci:master commit in: dev-python/anys/

2023-05-02 Thread Horea Christian
commit: 2247defef95a8a5fb1421077d3e46b857a8460ee
Author: Horea Christian  chymera  eu>
AuthorDate: Tue May  2 22:55:15 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue May  2 22:55:15 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2247defe

dev-python/anys: enable py3.11

Signed-off-by: Horea Christian  chymera.eu>

 dev-python/anys/anys-0.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/anys/anys-0.2.1.ebuild 
b/dev-python/anys/anys-0.2.1.ebuild
index 659e797cf..88e61a12e 100644
--- a/dev-python/anys/anys-0.2.1.ebuild
+++ b/dev-python/anys/anys-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 



[gentoo-commits] proj/sci:master commit in: dev-python/anys/

2022-07-28 Thread Horea Christian
commit: 227e857c2469a5848a0c012a00ff7a18681965ab
Author: Horea Christian  chymera  eu>
AuthorDate: Thu Jul 28 13:25:15 2022 +
Commit: Horea Christian  gmail  com>
CommitDate: Thu Jul 28 13:25:15 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=227e857c

dev-python/anys: dependency update

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian  chymera.eu>

 dev-python/anys/anys-0.2.0.ebuild | 2 +-
 dev-python/anys/anys-0.2.1.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/anys/anys-0.2.0.ebuild 
b/dev-python/anys/anys-0.2.0.ebuild
index 0d2fec35f..0f1bb884f 100644
--- a/dev-python/anys/anys-0.2.0.ebuild
+++ b/dev-python/anys/anys-0.2.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 
 DESCRIPTION="Matchers for pytest"

diff --git a/dev-python/anys/anys-0.2.1.ebuild 
b/dev-python/anys/anys-0.2.1.ebuild
index 783fc75ce..d74bb76f9 100644
--- a/dev-python/anys/anys-0.2.1.ebuild
+++ b/dev-python/anys/anys-0.2.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 
 DESCRIPTION="Matchers for pytest"
@@ -18,6 +18,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+   dev-python/deprecated[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
 "
 



[gentoo-commits] proj/sci:master commit in: dev-python/anys/files/, dev-python/anys/

2022-03-28 Thread Horea Christian
commit: af3f0c4c30e2f2996de6c9b88155ec86e9e5f5cf
Author: Horea Christian  chymera  eu>
AuthorDate: Mon Mar 28 14:33:26 2022 +
Commit: Horea Christian  gmail  com>
CommitDate: Mon Mar 28 14:33:26 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=af3f0c4c

dev-python/anys: new package (DANDI stack)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian  chymera.eu>

 dev-python/anys/anys-0.2.0.ebuild   | 28 +
 dev-python/anys/anys-0.2.1.ebuild   | 28 +
 dev-python/anys/files/anys-0.2.0-coverage.patch | 10 +
 dev-python/anys/metadata.xml| 16 ++
 4 files changed, 82 insertions(+)

diff --git a/dev-python/anys/anys-0.2.0.ebuild 
b/dev-python/anys/anys-0.2.0.ebuild
new file mode 100644
index 0..0d2fec35f
--- /dev/null
+++ b/dev-python/anys/anys-0.2.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1
+
+DESCRIPTION="Matchers for pytest"
+HOMEPAGE="https://github.com/jwodder/anys;
+SRC_URI="https://github.com/jwodder/anys/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.2.0-coverage.patch"
+)
+
+distutils_enable_tests pytest

diff --git a/dev-python/anys/anys-0.2.1.ebuild 
b/dev-python/anys/anys-0.2.1.ebuild
new file mode 100644
index 0..783fc75ce
--- /dev/null
+++ b/dev-python/anys/anys-0.2.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1
+
+DESCRIPTION="Matchers for pytest"
+HOMEPAGE="https://github.com/jwodder/anys;
+SRC_URI="https://github.com/jwodder/anys/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.2.0-coverage.patch"
+)
+
+distutils_enable_tests pytest

diff --git a/dev-python/anys/files/anys-0.2.0-coverage.patch 
b/dev-python/anys/files/anys-0.2.0-coverage.patch
new file mode 100644
index 0..8091ded2d
--- /dev/null
+++ b/dev-python/anys/files/anys-0.2.0-coverage.patch
@@ -0,0 +1,10 @@
+--- a/tox.ini  2021-09-27 06:43:49.569561395 -0400
 b/tox.ini  2021-09-27 06:47:36.549815529 -0400
+@@ -30,7 +30,6 @@
+ mypy src test
+
+ [pytest]
+-addopts = --cov=anys --no-cov-on-fail
+ filterwarnings = error
+ norecursedirs = test/data
+

diff --git a/dev-python/anys/metadata.xml b/dev-python/anys/metadata.xml
new file mode 100644
index 0..f0a7bb068
--- /dev/null
+++ b/dev-python/anys/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   gen...@chymera.eu
+   Horea Christian
+   
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   jwodder/anys
+   anys
+   
+