mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
* 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>
25 lines
648 B
Bash
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
|
|
}
|