diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pyspf | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pyspf')
| -rw-r--r-- | dev-python/pyspf/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pyspf/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-python/pyspf/pyspf-2.0.12.ebuild | 33 | ||||
| -rw-r--r-- | dev-python/pyspf/pyspf-2.0.14.ebuild | 35 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/pyspf/Manifest b/dev-python/pyspf/Manifest new file mode 100644 index 000000000000..210e095bd967 --- /dev/null +++ b/dev-python/pyspf/Manifest @@ -0,0 +1,2 @@ +DIST pyspf-2.0.12t.tar.gz 67189 BLAKE2B 40ddecf6e9717da9e496c5852866259f28af11c5e9ef581ef1188b07896bce7abc3ba901063bfea2ec9f89d70e17275b0e2619f23f9dc334628ebb0af084b79c SHA512 1ad23b5dea4aa8edd03b3fd9fc675685bcb0e216474534563c55988df040abd4e2bbc8488bba80d26466877e8b2ec88cbadc2f67eb8c4bf6f26f975d8af81d8d +DIST pyspf-2.0.14.tar.gz 69446 BLAKE2B 95a3bf89ab85aad84dcbbe81ada7f19d23cc689893df1d1317c0e06eb1f6b6d21b1e805d68e7c0c84161d711b9c6067f115d78c8786ce384036f7d0c425269b9 SHA512 ca801a899a80c18cd2c6bb8c125817c29898189805040cce8d29ace7a5aa34b43b9d10545150a1f39abd7bc49cd8da4fe753a04ac9b911e7bb9d77473753eeee diff --git a/dev-python/pyspf/metadata.xml b/dev-python/pyspf/metadata.xml new file mode 100644 index 000000000000..e653f4eb533a --- /dev/null +++ b/dev-python/pyspf/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>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pyspf</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pyspf/pyspf-2.0.12.ebuild b/dev-python/pyspf/pyspf-2.0.12.ebuild new file mode 100644 index 000000000000..9cf73938a2f0 --- /dev/null +++ b/dev-python/pyspf/pyspf-2.0.12.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="ipv6?" +inherit distutils-r1 + +DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) protocol" +HOMEPAGE="https://pypi.org/project/pyspf/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}t.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ipv6 test" +RESTRICT="!test? ( test )" + +# >=python-3.3 comes with the built-in ipaddress module +RDEPEND="dev-python/authres[${PYTHON_USEDEP}] + dev-python/pydns:3[${PYTHON_USEDEP}]" + +DEPEND="test? ( ${RDEPEND} + dev-python/pyyaml[${PYTHON_USEDEP}] )" + +REQUIRED_USE="test? ( ipv6 )" + +python_test() { + pushd test &> /dev/null + "${PYTHON}" testspf.py || die + popd &> /dev/null +} diff --git a/dev-python/pyspf/pyspf-2.0.14.ebuild b/dev-python/pyspf/pyspf-2.0.14.ebuild new file mode 100644 index 000000000000..97a34c45d65f --- /dev/null +++ b/dev-python/pyspf/pyspf-2.0.14.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) +PYTHON_REQ_USE="ipv6?" + +DISTUTILS_USE_SETUPTOOLS=no +inherit distutils-r1 + +DESCRIPTION="Python implementation of the Sender Policy Framework (SPF)" +HOMEPAGE="https://pypi.org/project/pyspf/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ipv6 test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/authres[${PYTHON_USEDEP}] + || ( dev-python/pydns:3[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] )" + +DEPEND="test? ( ${RDEPEND} + dev-python/pyyaml[${PYTHON_USEDEP}] )" + +REQUIRED_USE="test? ( ipv6 )" + +python_test() { + pushd test &> /dev/null + "${PYTHON}" testspf.py || die + popd &> /dev/null +} |
