-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
DIST pyvesync-1.1.0.tar.gz 27228 BLAKE2B acb08c7b84140a564403c5dec515814fb5283013868c2a9e898027dd7ab07c1d58bd03f26854f0a79f7af94b7303180b32dd318e60ebb11a31062fb827d36bde SHA512 3e7323c5a91d4c8409931939a19a593a744cbd583776e322729868c6cd2849910350482d2c973ad438b89348a0b32aed0ec69e0811801a0546ee1da4847f137b | ||
DIST pyvesync-1.2.0.tar.gz 33181 BLAKE2B 34e0c3bb4d023a28c1e35f74b63dc335829a61078ef1fbde288c081455b05cae3ce592d703a0f42d73db9a984a34c1bf4bd1d2a6342b5c61133ed14df46dedba SHA512 9f75b1dd86b32ed33102fc0adb15fb0788f5ca7486d3da1eadf536dcb1b3d0c30f0cbded3d71a775d08bbde0c75ad47f8aab55acbbf4cd464f42366fcdb25e75 | ||
EBUILD pyvesync-1.1.0.ebuild 841 BLAKE2B 10ed9b4a048d3e338117bac8344410d70d72995eb5ee0bc82ad74a37ae3b5824283d209ceb60192816320cd4716b6ee553d4f733b18ad8fb795649ded4e490e0 SHA512 3bc0bbbde185cca821a2a3e6e5c7907f9cefc6fe6a7e8f41eca67f75378a6928afe3bae679db547f95c6a3da2327a50c15bffe34f4f2a8d5a1635a0845e624bd | ||
EBUILD pyvesync-1.2.0.ebuild 887 BLAKE2B 8333ae446205bb0716610eb6ecdffc14489556923d01a99895cb018f8a95160c13cec7531bc69f9eb218898f22e4be2713098690cc8fde1dbf331d055182acd6 SHA512 e887c85adaa17885d07aa3df1f7ee3df3f93d3468fadf1ad8a6050e2bfba8009875c8cd054e351d503ee2c8de935e2c77b41b7e163454680b47b29dd023c1592 | ||
MISC metadata.xml 453 BLAKE2B b06ff434a667591cb49f8b81684315580c633ad0536e4297376c37b9cdcd59ddbc60272bb975752356e3a7bd7725b9077e21feea4205cbd3e8d21acccd521256 SHA512 6de379800645d96f00b3e5ef6edf8eb2c9884de09fa8d9bc401a7fd5cd2dc6891f40f4cd6d80f6f3cfffa9bae6d4f241d09daa730d04e4e2040aab6be847f490 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="7" | ||
|
||
PYTHON_COMPAT=( python3_{6..8} ) | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="pyvesync is a library to manage Etekcity Switches" | ||
HOMEPAGE="https://github.com/markperdue/pyvesync https://pypi.org/project/pyvesync/" | ||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" | ||
IUSE="test" | ||
|
||
RDEPEND=">=dev-python/requests-2.20.0[${PYTHON_USEDEP}]" | ||
BDEPEND="${REDEPEND} | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
test? ( | ||
dev-python/nose[${PYTHON_USEDEP}] | ||
dev-python/pytest[${PYTHON_USEDEP}] | ||
)" | ||
|
||
src_prepare() { | ||
sed "s/packages=find_packages('src')/packages=find_packages('src',exclude=['tests','tests.*'])/g" -i setup.py || die | ||
eapply_user | ||
} | ||
|
||
python_test() { | ||
nosetests --verbose || die | ||
py.test -v -v || die | ||
} |