app-backup/obnam: fix python deps, minor cleanups
authorMarc Schiffbauer <mschiff@gentoo.org>
Tue, 15 Sep 2015 23:24:06 +0000 (01:24 +0200)
committerMarc Schiffbauer <mschiff@gentoo.org>
Tue, 15 Sep 2015 23:24:26 +0000 (01:24 +0200)
Package-Manager: portage-2.2.20.1

app-backup/obnam/obnam-1.17.ebuild

index cd42b25e80718e5eefa26010ab28854fefdc22bc..242e3e4a8cb63aa7a31000ea7b1ee3b2a64a0e5c 100644 (file)
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE="threads"
 
-inherit eutils distutils-r1
+inherit distutils-r1
 
 DESCRIPTION="A backup program that supports encryption and deduplication"
 HOMEPAGE="http://obnam.org/"
@@ -19,19 +19,17 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="${PYTHON_DEPS}
-       dev-python/cliapp
-       dev-python/fuse-python
-       dev-python/larch
+       dev-python/cliapp[${PYTHON_USEDEP}]
+       dev-python/fuse-python[${PYTHON_USEDEP}]
+       dev-python/larch[${PYTHON_USEDEP}]
        !=dev-python/paramiko-1.13.0
-       || ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
-       dev-python/pyyaml
-       dev-python/tracing
-       dev-python/ttystatus
+       || ( <dev-python/paramiko-1.13.0[${PYTHON_USEDEP}] >dev-python/paramiko-1.13.0[${PYTHON_USEDEP}] )
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       dev-python/tracing[${PYTHON_USEDEP}]
+       dev-python/ttystatus[${PYTHON_USEDEP}]
        "
 RDEPEND="${DEPEND}"
 
-PATCHES=( )
-
 src_compile() {
        addwrite /proc/self/comm
        distutils-r1_src_compile