dev-python/py-nanoid: new package, add 9999

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2023-02-07 14:32:37 +01:00
parent 92a8199032
commit b53db53d0b
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST py-nanoid-9999.gh.tar.gz 6520 BLAKE2B 8805100e98beb3e7dbf8de8c55a0f1e8091483951a107cd2e04b588a6fde8a2d18c5e8e65707d8ce787ddb9ba32b0db5d92ae5b8621830039f51de117c426ebb SHA512 6e4adcd938b577c16b3724705b1707e7b0375bd89b06c05db609e92bab2a1fb43c0a8e6328933198700d19f19a2c01b6e3c7796167c37c81e73c5d948fd6ba21

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>gasc@eurecom.fr</email>
<name>Gasc Henri</name>
</maintainer>
<upstream>
<remote-id type="pypi">nanoid</remote-id>
<remote-id type="github">puyuan/py-nanoid</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Python Nanoid"
HOMEPAGE="https://github.com/puyuan/py-nanoid https://pypi.org/project/nanoid"
SRC_URI="https://github.com/puyuan/py-nanoid/archive/refs/heads/master.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/py-nanoid-master"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND=""
BDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/flake8[${PYTHON_USEDEP}]
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest