dev-python/luhn - 0.2.0 (nest)

Search

Package Information

Description:
Generate and verify Luhn check digits
Homepage:
https://github.com/mmcloughlin/luhn
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.2.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} python3_{13,14}t )

inherit distutils-r1

DESCRIPTION="Generate and verify Luhn check digits"
HOMEPAGE="https://github.com/mmcloughlin/luhn"
SRC_URI="https://github.com/mmcloughlin/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	epytest -v ./test.py
}

Manifest for 0.2.0

Type File Size Source URLs
DIST luhn-0.2.0.gh.tar.gz 2693 bytes https://github.com/mmcloughlin/luhn/archive/0.2.0.tar.gz