|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
|
|
|
|
|
|
inherit distutils-r1 eutils
|
|
|
|
|
|
|
|
|
@ -12,12 +12,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
|
|
|
|
https://pyxattr.k1024.org/downloads/${P}.tar.gz"
|
|
|
|
|
|
|
|
|
|
LICENSE="LGPL-2.1"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
SLOT="2.7"
|
|
|
|
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
|
|
|
|
|
IUSE="doc test"
|
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
|
|
RDEPEND="sys-apps/attr"
|
|
|
|
|
RDEPEND="sys-apps/attr
|
|
|
|
|
!dev-python/pyxattr:0[python_targets_python2_7]"
|
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
|
|
|
doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] )
|
|
|
|
@ -67,4 +68,5 @@ python_test() {
|
|
|
|
|
python_install_all() {
|
|
|
|
|
use doc && local HTML_DOCS=( doc/html/. )
|
|
|
|
|
distutils-r1_python_install_all
|
|
|
|
|
rm -r ${D}/usr/share
|
|
|
|
|
}
|