try pure-python ADB

This commit is contained in:
Andreas Billmeier 2019-03-30 19:25:46 +01:00
parent 73894ec773
commit 33e11b2b2b
3 changed files with 49 additions and 0 deletions

3
dev-python/adb/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST adb-1.3.0.tar.gz 27050 BLAKE2B 41de79e0ef1a2bb74aa0908a79ad63d27ca1941159d997d41f98432afdab709d15b839bd8e021ac8291c157e426926c550e6da1c3d499dd07eae4ace2c4218b6 SHA512 0ec5c2acee688498c065cfd136491594631e5410121f9f856cf9d0818af238bbf41f2646bf50b8503873bbd48e9bc97065638d3f4af35ba82681a0c84a26139c
EBUILD adb-1.3.0.ebuild 733 BLAKE2B 80f374e07d272692d318f848e312876c8dbcf01aef6c8d55e6b603015d29937056fd40486ebc8906cfb648a4c5f6a6a27dd9576b74001d8a3915c44b525e0c12 SHA512 68910bd60a6b23b193b2e13faf4af9f2aff96c754e85dc338826fea1c235baa8db0f571d7a0d1d2d40b122b82a118a6837602a6466563cec17f5bfe9411e4259
MISC metadata.xml 455 BLAKE2B 621e4f6f4494f6d25d3c53726e490ba9bfa82961bf997e004d425e8a588cc9dbbb166a7d6d1577e4ba2c102492cb00c7c4febad0c546628ff7ba2eeb96bb77c4 SHA512 81d3a48f44955658c09bce83d9f0aa421279dea5da2a93a58c6f0f2f0f5d67bac04f73d03fba73fe7d3753414cc19201ac5c9528c4c2b31a5c0f87b63937342b

View File

@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
# Distributed under the terms of the GNU General Public License v3.0
EAPI="7"
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="A pure python implementation of the Android ADB and Fastboot protocols"
HOMEPAGE="https://github.com/google/python-adb https://pypi.org/project/adb/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<herd>python</herd>
<upstream>
<remote-id type="pypi">adb</remote-id>
<maintainer status="unknown">
<email>fahhem@google.com</email>
<name>Fahrzin Hemmati</name>
</maintainer>
</upstream>
</pkgmetadata>