dev-python/almost: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-04-30 23:41:22 +02:00
parent d2fbc46d99
commit 826a3fee85
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST almost-0.1.5.tar.gz 4529 BLAKE2B 098b6fdaf03799fe6269249cfbd1609e514fa2672c3f71bef6feb16e7679a16d1ea45845cfe2d355c4cb1e39936fa356e50af94f1c7d6a67c7491b6bf1fdedcd SHA512 707bad3a4ef0a910271af93c739a9139b10e5afbadfd329a522ab3992a6a7baf47b0f272154482eabecf3029814542eaef535baea5f7995b7fd39c0a51671b4c

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
COMMIT="cc3eeb0abde7ff95a222d571443989c74a112ff7"
DESCRIPTION="A helper for approximate comparison"
HOMEPAGE="
https://github.com/sublee/almost
https://pypi.org/project/almost
"
SRC_URI="https://github.com/sublee/almost/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND=""
S="${WORKDIR}/${PN}-${COMMIT}"
#no tests in pypi tarball
distutils_enable_tests setup.py
src_prepare() {
sed -i "s|distribute|setuptools|" setup.py || die
default
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/sublee/almost/issues</bugs-to>
<maintainer>
<email>sub@subl.ee</email>
<name>Heungsub Lee</name>
</maintainer>
<remote-id type="pypi">almost</remote-id>
<remote-id type="github">sublee/almost</remote-id>
</upstream>
</pkgmetadata>