diff --git a/dev-python/zm-py/Manifest b/dev-python/zm-py/Manifest new file mode 100644 index 000000000..bce7a668b --- /dev/null +++ b/dev-python/zm-py/Manifest @@ -0,0 +1,3 @@ +DIST zm-py-0.3.3.tar.gz 10119 BLAKE2B 66d7da0800f81382802c91325cd9c1d39f526bf6825883c50ad21bd924ebd42492b31376094a0db5c4e253606370139e030c9a93ee4fc499b1de6b98ebfe0680 SHA512 4a75e277307b9b27545a126168b9a6643bf52b68b49b2077bd8cde4b2f2f9857c66e74d6eb5e75e04e9efcefcefeb11b15b8ec010f6986ad727f1ceed6924a20 +EBUILD zm-py-0.3.3.ebuild 715 BLAKE2B 36e3b7dc1268f70fd13bf000288597fe65549e8e7b9342a6c816b8bd13fdbfb36833174462d7bf50f09babffb3e17fcfa2daa62169cfe08140d345216b71cf3b SHA512 40ddea5d280d08bd77af68c7144f8ba32ad3a14c1bbdaf4199ab5be1c7d6903902b556b20fd5d7fcb4bcc0639590228c0a4eab647166410056b99cd85f0971e0 +MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af diff --git a/dev-python/zm-py/metadata.xml b/dev-python/zm-py/metadata.xml new file mode 100644 index 000000000..70d025d32 --- /dev/null +++ b/dev-python/zm-py/metadata.xml @@ -0,0 +1,8 @@ + + + + + b@edevau.net + Andreas Billmeier + + diff --git a/dev-python/zm-py/zm-py-0.3.3.ebuild b/dev-python/zm-py/zm-py-0.3.3.ebuild new file mode 100644 index 000000000..67c597699 --- /dev/null +++ b/dev-python/zm-py/zm-py-0.3.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A loose python wrapper around the ZoneMinder REST API." +HOMEPAGE="https://github.com/rohankapoorcom/zm-py https://pypi.org/project/zm-py/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache Software 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 +}