32 lines
725 B
Bash
32 lines
725 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
|
|
|
inherit distutils-r1
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/bitcraft/pytmx.git"
|
|
else
|
|
MY_PV="5a3a39a2902868401569c6a36aa8e68209fb5a8b"
|
|
MY_P="${PN}-${MY_PV}"
|
|
S="${WORKDIR}/${MY_P}"
|
|
SRC_URI="https://github.com/bitcraft/pytmx/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
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
|