1
0
Fork 0

dev-python/spake2: New package

It already exists in another overlay, I know...

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2021-08-08 08:09:01 +00:00
parent f56c557b60
commit 187f188c26
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,4 @@
DIST spake2-0.8.tar.gz 62425 BLAKE2B 64215362af26fff0785fdabf4282f7111a4cc917750827075b616f009cb1fa6373fc2325382c26b43c051aa5b94e414ca2a5223d9ab666289eb2d04723b15cb5 SHA512 908c377c831f4a11551973ca917b113d51a66c533d35fd19b2692fdb7e575ed2a5045d9b632bc55c37b68ad092f01dff5da191e9dfbfb5599b72844788438d68
EBUILD spake2-0.8.ebuild 702 BLAKE2B 9268c6b9a9632bc085089e1c65249ae6a0e005e1cd7d6dac782de0bb6525033271a6b0801f8293d2efe860f2aa939456bdd348ff4ed47dc6b0f31f8bc7b79ea7 SHA512 5fe87b675407d171ba2014ba6947820c42624471c03952e4ffc56bc831c6d0be9ef0c8e5753b9a73cfd64eab1cf3c3c9bad1cf677eb7dbd22fe30ef8802e421f
EBUILD spake2-9999.ebuild 702 BLAKE2B 9268c6b9a9632bc085089e1c65249ae6a0e005e1cd7d6dac782de0bb6525033271a6b0801f8293d2efe860f2aa939456bdd348ff4ed47dc6b0f31f8bc7b79ea7 SHA512 5fe87b675407d171ba2014ba6947820c42624471c03952e4ffc56bc831c6d0be9ef0c8e5753b9a73cfd64eab1cf3c3c9bad1cf677eb7dbd22fe30ef8802e421f
MISC metadata.xml 371 BLAKE2B 217e796d2688accc20d1345bcb40a494baa8809e90f1992fc72c5ba01ad240e6c5e651b4f70b2d01569fb74553ce1ac7b596bee58833c0fba5724260418a7539 SHA512 279d4030696b1d4f39bc56921d2c77b5e1544ef96544fe7cdc5ae8817a474377aaf93b6e9a9a1e91bf1cea75df0d22fe4043bce680c8ab0225c824efa786f27a

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">spake2</remote-id>
<remote-id type="github">warner/python-spake2</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,30 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
if [[ ${PV} != *9999* ]]; then
MY_PN="python-${PN}"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/warner/python-spake2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/warner/python-spake2.git"
fi
DESCRIPTION="Python implementation of SPAKE2"
HOMEPAGE="https://github.com/warner/python-spake2"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/hkdf[${PYTHON_USEDEP}]"
BDEPEND=""
distutils_enable_tests pytest

View File

@ -0,0 +1,30 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
if [[ ${PV} != *9999* ]]; then
MY_PN="python-${PN}"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/warner/python-spake2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/warner/python-spake2.git"
fi
DESCRIPTION="Python implementation of SPAKE2"
HOMEPAGE="https://github.com/warner/python-spake2"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/hkdf[${PYTHON_USEDEP}]"
BDEPEND=""
distutils_enable_tests pytest