57dbd51431
Package-Manager: Portage-2.3.51, Repoman-2.3.12 RepoMan-Options: --force
29 lines
683 B
Bash
29 lines
683 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python2_7 python{3_6,3_7} )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Extensions for Python Markdown."
|
|
HOMEPAGE="https://github.com/facelessuser/pymdown-extensions"
|
|
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-python/mkdocs-1.0.1[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
src_prepare() {
|
|
# remove tests directory
|
|
rm -rf ${S}/tests || die
|
|
sed -i -e "s:, 'tests'::g" ${S}/setup.py
|
|
|
|
distutils-r1_src_prepare
|
|
}
|