Added / updated several Python packages
This commit is contained in:
@@ -0,0 +1 @@
|
||||
EBUILD engineering-notation-9999.ebuild 887 BLAKE2B ac206cb90234ad755032d1c88f308d439f8e72f30489393e030c0a7cf7e0ae470b7066dca5f6fdf85742b1c718d1e76d0615c735af104ac254be77605b527463 SHA512 502a3fd13e9160fbc0c3f603f72359a68d62f89156911580689ea56cc1482b69dfd95720b71b6b7f4c7ae18eeb16509995a2c34255b0c8c2b231ac78ce2e0d28
|
||||
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
MY_PN="engineering_notation"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy engineering notation using python"
|
||||
HOMEPAGE="https://github.com/yaqwsx/KiKit"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/slightlynybbled/${MY_PN}.git"
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed "s@engineering_notation/version.py@$S/$MY_PN/version.py@" \
|
||||
-i "${S}/setup.py" || die
|
||||
|
||||
default
|
||||
}
|
||||
Reference in New Issue
Block a user