mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-18 16:37:27 -08:00
In setup.py it calls setup(license='LGPL 2.1 or later'). See: https://github.com/ebook-utils/css-parser/blob/v1.0.4/setup.py#L64 Closes: https://bugs.gentoo.org/710390 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Zac Medico <zmedico@gentoo.org>
24 lines
574 B
Bash
24 lines
574 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A CSS Cascading Style Sheets library (fork of cssutils)"
|
|
HOMEPAGE="https://pypi.org/project/css-parser/"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm x86"
|
|
|
|
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
# Tests fail under network-sandbox.
|
|
RESTRICT+=" test"
|
|
|
|
python_test() {
|
|
esetup.py test || die "tests failed under ${EPYTHON}"
|
|
}
|