Upgraded engineering-notation
This commit is contained in:
parent
8ce35a223d
commit
68dfd368b6
@ -1,3 +1,5 @@
|
|||||||
DIST engineering-notation-0.8.0.tar.gz 7971 BLAKE2B 0e6d009cfd3c595730352d1bf8b4b6b18dee10a2955f6224e72fdd33097111776a53b0e54dc7c37f02502593168351ed114748ec41e392f1e323058258c785b0 SHA512 83f54728b4b26e1ba53192d9af69376fa035a23a407ff08217a0de1708af424249603abac7afcd587fc79eda208b25d0127b0597a76da638849b0f10ab20f1ca
|
DIST engineering-notation-0.8.0.tar.gz 7971 BLAKE2B 0e6d009cfd3c595730352d1bf8b4b6b18dee10a2955f6224e72fdd33097111776a53b0e54dc7c37f02502593168351ed114748ec41e392f1e323058258c785b0 SHA512 83f54728b4b26e1ba53192d9af69376fa035a23a407ff08217a0de1708af424249603abac7afcd587fc79eda208b25d0127b0597a76da638849b0f10ab20f1ca
|
||||||
|
DIST engineering-notation-0.9.0.tar.gz 8054 BLAKE2B a8a3dff8940a23df419d8deda4880eeff3606cdbd45d36445ba58579df68a9963fd9c601e7f8e2d4eabcae140e8608bed8e089fb70ae8a3581b25c38199678cf SHA512 513f88fe5fa2b87c732d649cc1df7e4da5a8132bc29e3d50d5b943f5a3e1c575e6736529726e929cc0593083e23bf8eb7aa8d92d64a64ca943b7249ccbf21bb4
|
||||||
EBUILD engineering-notation-0.8.0.ebuild 1025 BLAKE2B 62472d556b053afa8352745b025d7229b05f9002c46d96b61b4dd47ffa671128b192a27ebc2033d3372cb28e2e9d3f9f3aec02a690d45dfc579900457909f2e9 SHA512 918e76c786161ba120ec89c494533e97696f01ff344bc8af34aac111049065a2605053b4212cf970d8fc3acceff2f62ab69c79d60b86c1e4ab54617709c554db
|
EBUILD engineering-notation-0.8.0.ebuild 1025 BLAKE2B 62472d556b053afa8352745b025d7229b05f9002c46d96b61b4dd47ffa671128b192a27ebc2033d3372cb28e2e9d3f9f3aec02a690d45dfc579900457909f2e9 SHA512 918e76c786161ba120ec89c494533e97696f01ff344bc8af34aac111049065a2605053b4212cf970d8fc3acceff2f62ab69c79d60b86c1e4ab54617709c554db
|
||||||
|
EBUILD engineering-notation-0.9.0.ebuild 1025 BLAKE2B 62472d556b053afa8352745b025d7229b05f9002c46d96b61b4dd47ffa671128b192a27ebc2033d3372cb28e2e9d3f9f3aec02a690d45dfc579900457909f2e9 SHA512 918e76c786161ba120ec89c494533e97696f01ff344bc8af34aac111049065a2605053b4212cf970d8fc3acceff2f62ab69c79d60b86c1e4ab54617709c554db
|
||||||
EBUILD engineering-notation-9999.ebuild 1025 BLAKE2B 62472d556b053afa8352745b025d7229b05f9002c46d96b61b4dd47ffa671128b192a27ebc2033d3372cb28e2e9d3f9f3aec02a690d45dfc579900457909f2e9 SHA512 918e76c786161ba120ec89c494533e97696f01ff344bc8af34aac111049065a2605053b4212cf970d8fc3acceff2f62ab69c79d60b86c1e4ab54617709c554db
|
EBUILD engineering-notation-9999.ebuild 1025 BLAKE2B 62472d556b053afa8352745b025d7229b05f9002c46d96b61b4dd47ffa671128b192a27ebc2033d3372cb28e2e9d3f9f3aec02a690d45dfc579900457909f2e9 SHA512 918e76c786161ba120ec89c494533e97696f01ff344bc8af34aac111049065a2605053b4212cf970d8fc3acceff2f62ab69c79d60b86c1e4ab54617709c554db
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
PYTHON_COMPAT=( python3_{9..12} )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
DISTUTILS_SINGLE_IMPL=1
|
||||||
|
|
||||||
|
MY_PN="engineering_notation"
|
||||||
|
|
||||||
|
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="https://github.com/slightlynybbled/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND="$(python_gen_cond_dep '
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user