diff --git a/dev-python/openwrt-luci-rpc/Manifest b/dev-python/openwrt-luci-rpc/Manifest index b36d7a020..9d39d710a 100644 --- a/dev-python/openwrt-luci-rpc/Manifest +++ b/dev-python/openwrt-luci-rpc/Manifest @@ -1,5 +1,7 @@ DIST openwrt-luci-rpc-1.0.5.tar.gz 12468 BLAKE2B ab7f73adb7d8111c6fe11bc04548f0ca09b78e1a1980980f82860f498eb53bafc40dd2ebc53ff4b9a94f8942f73249bed117ad41272e516b557c1374264c5934 SHA512 6726267b60ad01eea3eb404283edd216e76429e720764ff926ae2c9b5a0bb294a611b0ff5d48c506d92c404283ff1d7b1f25e5c03795884d50a92f71af85d7a6 DIST openwrt-luci-rpc-1.1.0.tar.gz 13569 BLAKE2B eba394fa826a6a32710aed49f7e60bec174f8bf9280195e8956954ed3a02b81e3f4ca611f34c8cc4be41c7df4ef6d99fa3798811247d1a30b31d3da7dfa75115 SHA512 1e3dd9b4f437ceb9c6f2d6b0128cf19a1fac269d83d70b7d31db3d804cd3d22fe71b6d0095534dfe4e2a48bf6c3eaca998732f256348216e8da6cc36b6f9d933 +DIST openwrt-luci-rpc-1.1.1.tar.gz 13622 BLAKE2B 843a14eb8466d17bfec8d77e79a74dd42109c5a66007f8afe258e72ab7b24bd38d61b242829c1d0e0212e512d9cc4dfc54a179e5268daf3d8d2276dbec24089e SHA512 2d59ff43e7db550632c2777c14176911cb20eb658403c8e8eedf4693381af9e4d2c9016087c7b0eabb3152b02655622b320ff12c3fd1c5f346900f1da3d4bf9f EBUILD openwrt-luci-rpc-1.0.5.ebuild 814 BLAKE2B 9fd772bb4fd10f4f25ece17192b8272a3330cc57d369de6aa69ebea67a6dba546ea080d0d840b65dd021c1e39014d8df2a505de19d78acba8c778457d2e8603a SHA512 837998dbd9ec1eb32413f25be9132dc3738a8b7511e9d209eb9a668425f502856545af6f0b2799c1b765f58021a415ea27f2ea21b1be0e4c55301237794011a1 EBUILD openwrt-luci-rpc-1.1.0.ebuild 814 BLAKE2B 9fd772bb4fd10f4f25ece17192b8272a3330cc57d369de6aa69ebea67a6dba546ea080d0d840b65dd021c1e39014d8df2a505de19d78acba8c778457d2e8603a SHA512 837998dbd9ec1eb32413f25be9132dc3738a8b7511e9d209eb9a668425f502856545af6f0b2799c1b765f58021a415ea27f2ea21b1be0e4c55301237794011a1 +EBUILD openwrt-luci-rpc-1.1.1.ebuild 814 BLAKE2B 9fd772bb4fd10f4f25ece17192b8272a3330cc57d369de6aa69ebea67a6dba546ea080d0d840b65dd021c1e39014d8df2a505de19d78acba8c778457d2e8603a SHA512 837998dbd9ec1eb32413f25be9132dc3738a8b7511e9d209eb9a668425f502856545af6f0b2799c1b765f58021a415ea27f2ea21b1be0e4c55301237794011a1 MISC metadata.xml 370 BLAKE2B 9f7c4d2fbd5b9c4a32c2030665fb657c7dcd62733927c882a7db1c4836904535d26304a668f057e19800a78f8a370be123d51c705a1a2b2a0677a6b4d0c4d91b SHA512 95a251984a266446c501596937f26f17f0f85de3bac2b8dbd9115b2a3dab0e6df9a94cd4d279dcaf6bc26c95f60c0d124ef99c4711e1d3bcb0621b89d8402f20 diff --git a/dev-python/openwrt-luci-rpc/openwrt-luci-rpc-1.1.1.ebuild b/dev-python/openwrt-luci-rpc/openwrt-luci-rpc-1.1.1.ebuild new file mode 100644 index 000000000..4cd40f13f --- /dev/null +++ b/dev-python/openwrt-luci-rpc/openwrt-luci-rpc-1.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v3.0 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Module for interacting with OpenWrt Luci RPC interface" +HOMEPAGE="https://github.com/fbradyirl/openwrt-luci-rpc https://pypi.org/project/openwrt-luci-rpc/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache Software License 2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="~dev-python/requests-2.21.0[${PYTHON_USEDEP}] + >dev-python/click-6[${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 +}