24 lines
567 B
Bash
24 lines
567 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7,8,9} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Simple two way ordered dictionary for Python"
|
|
HOMEPAGE="https://github.com/MrS0m30n3/twodict"
|
|
LICENSE="Unlicense"
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/MrS0m30n3/${PN}"
|
|
else
|
|
SRC_URI="https://github.com/MrS0m30n3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="amd64 x86"
|
|
fi
|
|
|
|
SLOT="0"
|
|
DEPEND=""
|
|
RDEPEND="${PYTHON_DEPS}" |