add py-synology-0.3.0, python-synology-0.2.0, synology-srm-0.1.2

This commit is contained in:
2019-11-24 17:55:05 +01:00
parent 2a87077bf1
commit 6d47c2933a
10 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST py-synology-0.3.0.tar.gz 3150 BLAKE2B e98653ed107d101c47aee011fe8615be5416e1fe10f59d697d4dab56f30b8548457c32510cb407b6295e86c0a31abea7b4ad5b4ffe55319b001f286093512a39 SHA512 d639b5b448c33038f6c31e1abb80c40a68a577f8f80ed6736c82d4780e6dec96c9ee2455e231249df55dec0dad3e52e06f7fec2e629e30fedc03c0d9d1b260cf
EBUILD py-synology-0.3.0.ebuild 717 BLAKE2B 38917d2b5bca240d3f00cec9c98541ce6fab47f4bdc56b399735e28953578abf205e37a7b71846165580aeef91c8fc1cb9f659bdd44636a84ada00f72662b3a3 SHA512 c20062916b47fc3ab053741f36026402060da328b52bc615e39e412ff609a63975d02cbba83c55351caf94070e5ff6a19cb75ade20b6a35c310bb24810992f92
MISC metadata.xml 455 BLAKE2B 3775066340f9b474448da28bf6981eeca288fbd23dd79a8623e5b808731c913da3e416e6f6cbf39eae231166991338d624568c5504cdb566b9b5d0faff02fcf1 SHA512 60bf17b1421d39bde6eebaa4be7b422ec784d1e37293ab469bcdd879fea94f4a8acfaa1557c758fc6e9ecdb898330adab6477d56535f6fef8628ca32c6dec7c0

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">py-synology</remote-id>
<maintainer status="unknown">
<email>snjoetw@gmail.com</email>
<name>snjoetw</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Python API for Synology Surveillance Station"
HOMEPAGE="https://github.com/snjoetw/py-synology https://pypi.org/project/py-synology/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
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
}