unitas-misc/www-apps/lektor-atom/lektor-atom-0.4.0.ebuild

31 lines
728 B
Bash
Raw Normal View History

2020-08-31 20:47:28 +02:00
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
2022-02-13 18:46:49 +01:00
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python{3_8,3_9,3_10} )
2020-08-31 20:47:28 +02:00
inherit distutils-r1
DESCRIPTION="Lektor Atom plugin."
HOMEPAGE="https://www.getlektor.com/plugins/lektor-atom/"
2022-02-13 18:46:49 +01:00
SRC_URI="https://github.com/lektor/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
2020-08-31 20:47:28 +02:00
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="www-apps/lektor
dev-python/feedgenerator[${PYTHON_USEDEP}]
dev-python/markupsafe[${PYTHON_USEDEP}]"
RDEPEND=""
DOCS=( CHANGELOG.md README.md )
2022-02-13 18:46:49 +01:00
pkg_setup() {
if [[ ${PV} != 9999 ]]; then
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
fi
}