public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/ctypescrypto/
@ 2019-12-09 18:47 Rick Farina
  0 siblings, 0 replies; 4+ messages in thread
From: Rick Farina @ 2019-12-09 18:47 UTC (permalink / raw
  To: gentoo-commits

commit:     712449812b8bfe62f611037f7ec797a015f01c4d
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 18:46:47 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 18:46:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71244981

dev-python/ctypescrypto: import from SpiderX Nest overlay

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 dev-python/ctypescrypto/Manifest                 |  1 +
 dev-python/ctypescrypto/ctypescrypto-0.5.ebuild  | 41 ++++++++++++++++++++++++
 dev-python/ctypescrypto/ctypescrypto-9999.ebuild | 41 ++++++++++++++++++++++++
 dev-python/ctypescrypto/metadata.xml             | 14 ++++++++
 4 files changed, 97 insertions(+)

diff --git a/dev-python/ctypescrypto/Manifest b/dev-python/ctypescrypto/Manifest
new file mode 100644
index 00000000000..26b4a90612f
--- /dev/null
+++ b/dev-python/ctypescrypto/Manifest
@@ -0,0 +1 @@
+DIST ctypescrypto-0.5.tar.gz 44667 BLAKE2B abf24a4a5dc5ea1d977427f781e44433aaeac716b4f1f8d6f23e7f8de7debae75cfff80e72c369b64b8b9299f4b058763d42c5f21cd499f9b5689481afa5a538 SHA512 96ca12145be503a5b343d936cde172039057e5a2308fb6f6f65e14fe859d4e98d93ffb996849e391cf0c474425ee6243fd4c7998b088938a21456965d135188f

diff --git a/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild b/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
new file mode 100644
index 00000000000..cc4b87b8afa
--- /dev/null
+++ b/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5..7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to some openssl function based on ctypes module"
+HOMEPAGE="https://github.com/vbwagner/ctypescrypto"
+if [ "${PV}" = "9999" ]; then
+	EGIT_REPO_URI="https://github.com/vbwagner/ctypescrypto.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/vbwagner/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gost test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( gost )"
+
+RDEPEND="gost? ( dev-libs/gost-engine:= )"
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+	# Remove failed tests
+	rm tests/testpkey.py || die "rm failed"
+	# Disable test
+	sed -i '/test_verify_by_filestore/i\\    @unittest.skip("disable")' \
+		tests/testx509.py || die "sed failed for tests/testx509.py"
+
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	"${PYTHON}" -m unittest discover -v tests || die "tests failed with ${EPYTHON}"
+}

diff --git a/dev-python/ctypescrypto/ctypescrypto-9999.ebuild b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
new file mode 100644
index 00000000000..cc4b87b8afa
--- /dev/null
+++ b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5..7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to some openssl function based on ctypes module"
+HOMEPAGE="https://github.com/vbwagner/ctypescrypto"
+if [ "${PV}" = "9999" ]; then
+	EGIT_REPO_URI="https://github.com/vbwagner/ctypescrypto.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/vbwagner/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gost test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( gost )"
+
+RDEPEND="gost? ( dev-libs/gost-engine:= )"
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+	# Remove failed tests
+	rm tests/testpkey.py || die "rm failed"
+	# Disable test
+	sed -i '/test_verify_by_filestore/i\\    @unittest.skip("disable")' \
+		tests/testx509.py || die "sed failed for tests/testx509.py"
+
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	"${PYTHON}" -m unittest discover -v tests || die "tests failed with ${EPYTHON}"
+}

diff --git a/dev-python/ctypescrypto/metadata.xml b/dev-python/ctypescrypto/metadata.xml
new file mode 100644
index 00000000000..db19a33dccc
--- /dev/null
+++ b/dev-python/ctypescrypto/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+	</maintainer>
+	<maintainer type="person">
+		<email>zerochaos@gentoo.org</email>
+		<name>Rick Farina</name>
+	</maintainer>
+	<use>
+		<flag name="gost">Build with support for GOST Message Authentication Code</flag>
+	</use>	
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/ctypescrypto/
@ 2020-12-02 19:32 Rick Farina
  0 siblings, 0 replies; 4+ messages in thread
From: Rick Farina @ 2020-12-02 19:32 UTC (permalink / raw
  To: gentoo-commits

commit:     ca2927d5cecdabb1b3b05af0d822035ec8159652
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  2 19:31:53 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Dec  2 19:32:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca2927d5

dev-python/ctypescrypto: bump python

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

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

diff --git a/dev-python/ctypescrypto/ctypescrypto-9999.ebuild b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
index 26427d4300e..1defb39689e 100644
--- a/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
+++ b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{6..7} )
+PYTHON_COMPAT=( python3_{6..8} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/ctypescrypto/
@ 2020-12-02 23:13 Aaron Bauman
  0 siblings, 0 replies; 4+ messages in thread
From: Aaron Bauman @ 2020-12-02 23:13 UTC (permalink / raw
  To: gentoo-commits

commit:     7948d51de8ac5bdb214aea067e72f355ecd1175d
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  2 22:36:15 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed Dec  2 23:12:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7948d51d

dev-python/ctypescrypto: add py3_{8,9}

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-python/ctypescrypto/ctypescrypto-0.5.ebuild  | 3 ++-
 dev-python/ctypescrypto/ctypescrypto-9999.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild b/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
index 26427d4300e..96f10907bc1 100644
--- a/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
+++ b/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
@@ -4,7 +4,8 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{6..7} )
+
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 

diff --git a/dev-python/ctypescrypto/ctypescrypto-9999.ebuild b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
index 1defb39689e..96f10907bc1 100644
--- a/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
+++ b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
@@ -4,7 +4,8 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{6..8} )
+
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/ctypescrypto/
@ 2021-06-05 13:34 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2021-06-05 13:34 UTC (permalink / raw
  To: gentoo-commits

commit:     11f04fe2cbf8eeb47e2825984526c5c1200f63c0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  5 13:24:06 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun  5 13:34:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f04fe2

dev-python/ctypescrypto: Enable py3.10

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

 dev-python/ctypescrypto/ctypescrypto-0.5.ebuild  | 5 ++---
 dev-python/ctypescrypto/ctypescrypto-9999.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild b/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
index 38eee74eeb5..2c7dccb1cf8 100644
--- a/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
+++ b/dev-python/ctypescrypto/ctypescrypto-0.5.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 

diff --git a/dev-python/ctypescrypto/ctypescrypto-9999.ebuild b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
index 38eee74eeb5..2c7dccb1cf8 100644
--- a/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
+++ b/dev-python/ctypescrypto/ctypescrypto-9999.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-05 13:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-05 13:34 [gentoo-commits] repo/gentoo:master commit in: dev-python/ctypescrypto/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2020-12-02 23:13 Aaron Bauman
2020-12-02 19:32 Rick Farina
2019-12-09 18:47 Rick Farina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox