[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2024-05-22 Thread Petr Vaněk
commit: 774a4a170862d86518675ae9b36bd48976539b4a
Author: Petr Vaněk  gentoo  org>
AuthorDate: Wed May 22 08:51:08 2024 +
Commit: Petr Vaněk  gentoo  org>
CommitDate: Wed May 22 08:52:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774a4a17

dev-python/pymacaroons: enable py3.13

Signed-off-by: Petr Vaněk  gentoo.org>

 dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
index c23a09cd5894..cfc92a109a8d 100644
--- a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2023-05-28 Thread Sam James
commit: cf0bc0bf0959f07e15f303d67b5f1737f166407b
Author: Petr Vaněk  atlas  cz>
AuthorDate: Sun May 28 10:00:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 28 11:35:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0bc0bf

dev-python/pymacaroons: enable py3.12

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

 dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
index ef9c29b5283a..1e49cf4cc1bc 100644
--- a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-11-30 Thread Michał Górny
commit: ee47cae863f20fa01883f67808a481f341fddcac
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 30 13:05:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 30 13:22:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee47cae8

dev-python/pymacaroons: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pymacaroons/pymacaroons-0.13.0.ebuild | 39 
 1 file changed, 39 deletions(-)

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
deleted file mode 100644
index a2bee30a6ff0..
--- a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="PyMacaroons is a Python implementation of Macaroons."
-HOMEPAGE="
-   https://github.com/ecordell/pymacaroons
-   https://pypi.org/project/pymacaroons/
-"
-SRC_URI="https://github.com/ecordell/pymacaroons/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-python/pynacl[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/nose[${PYTHON_USEDEP}]
-   )
-"
-
-python_test() {
-   # The package also contains property_tests, however, they are 
incompatible
-   # with dev-python/hypothesis in gentoo. The package requires too old 
version.
-   "${EPYTHON}" -m nose -v tests/functional_tests || die "Tests failed 
with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-11-29 Thread Jakov Smolić
commit: 3f7474bee8246ff1bb7ccafc53c1f3629b0d5025
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Nov 30 06:03:55 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Nov 30 06:03:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7474be

dev-python/pymacaroons: Stabilize 0.13.0-r1 ALLARCHES, #883515

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
index b0bc4372dffe..ef9c29b5283a 100644
--- a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 
 RDEPEND="
dev-python/pynacl[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-10-29 Thread Michał Górny
commit: d5024db1886a2f34a90cbfe5ff1c525b4ace54a1
Author: Petr Vaněk  atlas  cz>
AuthorDate: Sat Oct 29 14:35:43 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 29 21:01:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5024db1

dev-python/pymacaroons: nose to pytest & py3.11 support

This revision bump applies patch which backports parts of the upstream
PR #59 related to nose to pytest transition.

Additionally:
- py3.11 support is enabled
- update DESCRIPTION

Upstream-PR: https://github.com/ecordell/pymacaroons/pull/59
Co-authored-by: Michał Górny  gentoo.org>
Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/28022
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pymacaroons/Manifest|  1 +
 .../pymacaroons/pymacaroons-0.13.0-r1.ebuild   | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/pymacaroons/Manifest b/dev-python/pymacaroons/Manifest
index 6aab45d7ecae..b043635a70ff 100644
--- a/dev-python/pymacaroons/Manifest
+++ b/dev-python/pymacaroons/Manifest
@@ -1 +1,2 @@
+DIST pymacaroons-0.13.0-nose-to-pytest.patch 18750 BLAKE2B 
36e884b77fa5d540f5c849a6dead98ad30a41b04a512d85843ffc7f18f85660a0520e6b17dd55f48c0ac1c0f98f86c0ea9751942a0592d2e64698aa9d9a65131
 SHA512 
36a582ad8395eb114a164d027b0d73cb6dfc10230538c0f7c3beb9b9afca26cd9a4964cd3f12cb144fd7e63acc0f7ce19760a9ad75be1f5a9a37ccc350462056
 DIST pymacaroons-0.13.0.gh.tar.gz 25607 BLAKE2B 
ff21e88842c54f7ce84e8b3ad59d42ee43f2bb2073ebbb7f47dee123086c1466024420246a4da2eae462bc36e44a3621b75144846e090073c5063b0af24f1ad1
 SHA512 
60da7e03d68083f8effdc06b338dd04dbd6a39ff137373721af09f1282fb035f969459d2ef80f4d728dcf95f6244b7b2de443e48658e0551462ab46daf3884a2

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
new file mode 100644
index ..b0bc4372dffe
--- /dev/null
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python implementation of Macaroons"
+HOMEPAGE="
+   https://github.com/ecordell/pymacaroons
+   https://pypi.org/project/pymacaroons/
+"
+SRC_URI="
+   https://github.com/ecordell/pymacaroons/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+   
https://github.com/arkamar/pymacaroons/commit/backport-upstream-pr59.patch
+   -> ${P}-nose-to-pytest.patch
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+
+RDEPEND="
+   dev-python/pynacl[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   # The patch is backported from upstream PR #59 to v0.13.0 and stored in 
my
+   # fork, see SRC_URI.
+   "${DISTDIR}/${P}-nose-to-pytest.patch"
+)
+
+EPYTEST_IGNORE=(
+   # The package also contains property_tests, however, they are 
incompatible
+   # with dev-python/hypothesis in gentoo. The package requires too old 
version.
+   tests/property_tests
+)
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-09-27 Thread Sam James
commit: fc8663d3ad21f4102319ecc809228914ce6a6a51
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Sep 27 13:53:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 27 21:42:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8663d3

dev-python/pymacaroons: mark ALLARCHES

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

 dev-python/pymacaroons/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pymacaroons/metadata.xml 
b/dev-python/pymacaroons/metadata.xml
index 5126b7df482e..4b3480cbca63 100644
--- a/dev-python/pymacaroons/metadata.xml
+++ b/dev-python/pymacaroons/metadata.xml
@@ -9,6 +9,7 @@
proxy-ma...@gentoo.org
Proxy Maintainers

+   

pymacaroons
ecordell/pymacaroons



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-09-22 Thread Agostino Sarubbo
commit: 4cbc2e43c2b92d9b071ab1c954370b0a325bd0b7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 22 07:41:12 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 22 07:41:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbc2e43

dev-python/pymacaroons: Stabilize 0.13.0 amd64, #870118

Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
index 223a0c3db03f..a2bee30a6ff0 100644
--- a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/ecordell/pymacaroons/archive/v${PV}.tar.gz -> ${P}.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-07-20 Thread Sam James
commit: 56c0fb777b0440a8107300582f3413826e38c7b6
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 20 17:00:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 20 17:00:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c0fb77

dev-python/pymacaroons: Keyword 0.13.0 ppc64, #859412

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
index fc5b6826c9b4..223a0c3db03f 100644
--- a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/ecordell/pymacaroons/archive/v${PV}.tar.gz -> ${P}.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc64"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-07-14 Thread Sam James
commit: f536fcfc362a5836176ea90e81d1ca4c76e517e5
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Jul 12 20:07:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 15 01:23:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f536fcfc

dev-python/pymacaroons: enable tests

This enables majority of available tests except of those depending on
too old dev-python/hypothesis version.

Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/26375
Signed-off-by: Sam James  gentoo.org>

 dev-python/pymacaroons/pymacaroons-0.13.0.ebuild | 16 +---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
index 24e60796d20c..fc5b6826c9b4 100644
--- a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
@@ -18,12 +18,22 @@ 
SRC_URI="https://github.com/ecordell/pymacaroons/archive/v${PV}.tar.gz -> ${P}.g
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="test"
 
-# tests are incompatible with dev-python/hypothesis::gentoo. This package needs
-# <2.0.0, because needed hypothesis.specifiers module was removed in 2.0.0.
-RESTRICT="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
dev-python/pynacl[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
 "
+BDEPEND="test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/nose[${PYTHON_USEDEP}]
+   )
+"
+
+python_test() {
+   # The package also contains property_tests, however, they are 
incompatible
+   # with dev-python/hypothesis in gentoo. The package requires too old 
version.
+   "${EPYTHON}" -m nose -v tests/functional_tests || die "Tests failed 
with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pymacaroons/

2022-07-09 Thread Sam James
commit: 4449f59d1221a77eb8794cbbdbb81641bcf64479
Author: Petr Vaněk  atlas  cz>
AuthorDate: Thu Jul  7 13:23:21 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul  9 08:15:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4449f59d

dev-python/pymacaroons: new package, add 0.13.0

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

 dev-python/pymacaroons/Manifest  |  1 +
 dev-python/pymacaroons/metadata.xml  | 16 +
 dev-python/pymacaroons/pymacaroons-0.13.0.ebuild | 29 
 3 files changed, 46 insertions(+)

diff --git a/dev-python/pymacaroons/Manifest b/dev-python/pymacaroons/Manifest
new file mode 100644
index ..6aab45d7ecae
--- /dev/null
+++ b/dev-python/pymacaroons/Manifest
@@ -0,0 +1 @@
+DIST pymacaroons-0.13.0.gh.tar.gz 25607 BLAKE2B 
ff21e88842c54f7ce84e8b3ad59d42ee43f2bb2073ebbb7f47dee123086c1466024420246a4da2eae462bc36e44a3621b75144846e090073c5063b0af24f1ad1
 SHA512 
60da7e03d68083f8effdc06b338dd04dbd6a39ff137373721af09f1282fb035f969459d2ef80f4d728dcf95f6244b7b2de443e48658e0551462ab46daf3884a2

diff --git a/dev-python/pymacaroons/metadata.xml 
b/dev-python/pymacaroons/metadata.xml
new file mode 100644
index ..5126b7df482e
--- /dev/null
+++ b/dev-python/pymacaroons/metadata.xml
@@ -0,0 +1,16 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   arka...@atlas.cz
+   Petr Vaněk
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   pymacaroons
+   ecordell/pymacaroons
+   
+

diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild 
b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
new file mode 100644
index ..24e60796d20c
--- /dev/null
+++ b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="PyMacaroons is a Python implementation of Macaroons."
+HOMEPAGE="
+   https://github.com/ecordell/pymacaroons
+   https://pypi.org/project/pymacaroons/
+"
+SRC_URI="https://github.com/ecordell/pymacaroons/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# tests are incompatible with dev-python/hypothesis::gentoo. This package needs
+# <2.0.0, because needed hypothesis.specifiers module was removed in 2.0.0.
+RESTRICT="test"
+
+RDEPEND="
+   dev-python/pynacl[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"