From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pyaes/Manifest | 1 + dev-python/pyaes/metadata.xml | 15 +++++++++++++++ dev-python/pyaes/pyaes-1.6.1-r1.ebuild | 27 +++++++++++++++++++++++++++ dev-python/pyaes/pyaes-1.6.1-r2.ebuild | 30 ++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 dev-python/pyaes/Manifest create mode 100644 dev-python/pyaes/metadata.xml create mode 100644 dev-python/pyaes/pyaes-1.6.1-r1.ebuild create mode 100644 dev-python/pyaes/pyaes-1.6.1-r2.ebuild (limited to 'dev-python/pyaes') diff --git a/dev-python/pyaes/Manifest b/dev-python/pyaes/Manifest new file mode 100644 index 000000000000..3e941c832d34 --- /dev/null +++ b/dev-python/pyaes/Manifest @@ -0,0 +1 @@ +DIST pyaes-1.6.1.tar.gz 28536 BLAKE2B fa7ca95ae181cd48e21ceaeab42f937c54bc9b90b1a337aaffd6317c8091f813b1fbd2abbc14a600a747829a0e94ac6bdd5624010a27f1c342bfef2390d7c8fb SHA512 00ce3babf72ea18b0de369860cd884058c7c6f3bd8b961c3ff591ef7d3dc0a69fabad5311f61c9f91d2f1a480c8512e34eeced5ec7145ed9f963bf91c5f8838a diff --git a/dev-python/pyaes/metadata.xml b/dev-python/pyaes/metadata.xml new file mode 100644 index 000000000000..88bfede19080 --- /dev/null +++ b/dev-python/pyaes/metadata.xml @@ -0,0 +1,15 @@ + + + + + blueness@gentoo.org + Anthony G. Basile + + + python@gentoo.org + + + pyaes + + gentoo-staging + diff --git a/dev-python/pyaes/pyaes-1.6.1-r1.ebuild b/dev-python/pyaes/pyaes-1.6.1-r1.ebuild new file mode 100644 index 000000000000..c7f7ffbcb3f8 --- /dev/null +++ b/dev-python/pyaes/pyaes-1.6.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python Implementation of the AES block-cipher and common modes of operation" +HOMEPAGE="https://pypi.org/project/pyaes/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 x86" +IUSE="" + +python_test() { + local t fail= + for t in tests/test-*.py; do + einfo "${t}" + "${EPYTHON}" "${t}" || fail=1 + done + [[ ${fail} ]] && die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pyaes/pyaes-1.6.1-r2.ebuild b/dev-python/pyaes/pyaes-1.6.1-r2.ebuild new file mode 100644 index 000000000000..0e64197b7170 --- /dev/null +++ b/dev-python/pyaes/pyaes-1.6.1-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python Implementation of the AES block-cipher and common modes of operation" +HOMEPAGE="https://pypi.org/project/pyaes/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-python/pycryptodome[${PYTHON_USEDEP}] )" + +python_test() { + local t fail= + for t in tests/test-*.py; do + einfo "${t}" + "${EPYTHON}" "${t}" || fail=1 + done + [[ ${fail} ]] && die "Tests fail with ${EPYTHON}" +} -- cgit v1.3