add keyring (experimaental)

This commit is contained in:
Andreas Billmeier 2019-01-10 12:02:24 +01:00
parent db3a49b6e6
commit 7e995eeeb7
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST keyring-17.1.0.tar.gz 44685 BLAKE2B e34bf4799404305294f7f5873c82c3a02e1317123b381f911faeb928a2fc746b190271f357e77f8e789095af91e9a53ed6712647b461f9f5caac4196dfce2dbe SHA512 95d7b16a5d67888fb71c24b82c5c0f2f302303dd6aa043e1301e90110ab0ae6ad83166ea0d2e75d8eb26066d20b0936860ad0afb16171a42db98539db9fa7852
EBUILD keyring-17.1.0.ebuild 1190 BLAKE2B 5c41f74fe95dec4d8bda37ef215f77e921472d2a204e25631e47b56823f73c0d1f742ed9bbff8f2d2f36efc2c73bc9be940a889609cb5b7d28a9b24cf05da4a6 SHA512 c05684ea5b24771c121c74ccb3b526d555baee2f707a0e95a0b5d731ccf0602b647dc8a58ab0fb0bb0779561eb619f69342098298c719bd0894fe9ba1cf2c297
MISC metadata.xml 773 BLAKE2B 0a0957f622a38547688b83092b5961f3fa8f3c7a71cb628c6e5525b0a95f37345b5de0cdb5f5a80ce30a96150c6409920dcc391e230d8fbc6ea385b055a30add SHA512 939015ee7c67aa097663ef547b0726f7c7fc95d659b5f71f414b503e61f28604c05a252a084b65044ee2fc331005c10b5c8af4b4b361527b4a42e061e88b5018

View File

@ -0,0 +1,50 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( pypy3 python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Provides access to the system keyring service"
HOMEPAGE="https://github.com/jaraco/keyring"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="PSF-2"
KEYWORDS="~amd64"
IUSE="doc test"
RDEPEND="
dev-python/secretstorage[${PYTHON_USEDEP}]
dev-python/entrypoints[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
>=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
>=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
${RDEPEND}
)
"
python_compile_all() {
if use doc; then
sphinx-build docs docs/_build/html || die
HTML_DOCS=( docs/_build/html/. )
fi
}
python_test() {
# Override pytest options to skip flake8
# Skip an interactive test
pytest -vv --override-ini="addopts=--doctest-modules" \
--ignore ${PN}/tests/backends/test_kwallet.py \
|| die "testsuite failed under ${EPYTHON}"
}

View File

@ -0,0 +1,24 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<maintainer type="project">
<email>openstack@gentoo.org</email>
<name>Openstack</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">
Provides a easy way to access the system keyring service from python.
</longdescription>
<upstream>
<remote-id type="pypi">keyring</remote-id>
<remote-id type="bitbucket">kang/python-keyring-lib</remote-id>
<remote-id type="github">jaraco/keyring</remote-id>
</upstream>
</pkgmetadata>