Files
gentoo/dev-python/deepmerge/deepmerge-0.1.1_p1.ebuild
T
Jakov Smolic a8f150a837 dev-python/deepmerge: Add tests
* Upstream doesn't ship tests in pypi tarballs, and latest github release is
outdated, so let's just use the commit tag (no changes with regards to 0.1.1
except for tests).

Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2021-03-09 11:13:59 +02:00

25 lines
648 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="587279c6771abb13ed831ebc2cba3c9e4d81e7e5"
DESCRIPTION="Tools to handle merging of nested data structures in python"
HOMEPAGE="https://deepmerge.readthedocs.io/en/latest"
SRC_URI="https://github.com/toumorokoshi/deepmerge/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
distutils_enable_tests pytest
python_prepare_all() {
sed -i -e '/vcver/d' setup.py || die
distutils-r1_python_prepare_all
}