1
0
flewkey-overlay/dev-python/pytmx/pytmx-9999.ebuild
Ryan Fox 376649672a
dev-python/pytmx: Add live ebuild
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-11-04 19:34:23 -07:00

29 lines
625 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{3..10} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/bitcraft/pytmx/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/bitcraft/pytmx.git"
fi
DESCRIPTION="Python library to read Tiled Map Editor's TMX maps"
HOMEPAGE="https://github.com/bitcraft/pytmx"
LICENSE="LGPL-3"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
distutils_enable_tests unittest