summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-21 19:47:06 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-21 19:47:13 +0200
commit958a03f8054315356409025af01d1aaffa438ceb (patch)
treef1a931f76796bf6de978c0fa8da36a4d299a242d /app-mobilephone/adb-sync/adb-sync-0_p20181127-r1.ebuild
parentapp-emulation/virtualbox: Fix missing PYTHON_DEPS (diff)
downloadgentoo-958a03f8054315356409025af01d1aaffa438ceb.tar.gz
gentoo-958a03f8054315356409025af01d1aaffa438ceb.tar.bz2
gentoo-958a03f8054315356409025af01d1aaffa438ceb.zip
app-mobilephone/adb-sync: Fix missing PYTHON_{DEPS,REQUIRED_USE}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-mobilephone/adb-sync/adb-sync-0_p20181127-r1.ebuild')
-rw-r--r--app-mobilephone/adb-sync/adb-sync-0_p20181127-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-mobilephone/adb-sync/adb-sync-0_p20181127-r1.ebuild b/app-mobilephone/adb-sync/adb-sync-0_p20181127-r1.ebuild
new file mode 100644
index 000000000000..9966bc246f02
--- /dev/null
+++ b/app-mobilephone/adb-sync/adb-sync-0_p20181127-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit python-single-r1 python-utils-r1
+
+COMMIT=b0a2a10
+
+DESCRIPTION="Synchronize files between a PC and an Android device using ADB"
+HOMEPAGE="https://github.com/google/adb-sync"
+SRC_URI="https://github.com/google/adb-sync/tarball/${COMMIT} -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+channel"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+ dev-util/android-tools
+ channel? ( net-misc/socat )"
+DEPEND=""
+
+S="${WORKDIR}/google-adb-sync-${COMMIT}"
+
+src_install() {
+ dodoc README.md
+ python_doscript adb-sync
+ use channel && dobin adb-channel
+}