add mullvad-api-1.0.0

This commit is contained in:
Andreas Billmeier 2021-03-14 14:54:02 +01:00 committed by Andreas Billmeier
parent ffc9e498f2
commit 3e7d6a90bb
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 49 additions and 0 deletions

View File

@ -26,6 +26,7 @@
* bump pylitejet-0.3.0
* bump pymyq-3.0.4
* add pyclimacell-0.14.0 - pyclimacell-0.18.0
* add mullvad-api-1.0.0
2021-02-17
* bump HATasmota-0.2.9

View File

@ -0,0 +1,3 @@
DIST mullvad-api-1.0.0.tar.gz 1823 BLAKE2B c27b9477da349d0f778d873acabbae43b665256b135f30378ae3c3357d914f13e0db37dc09dc56dc2663fb522aee0047a5268db7f929ca8d881702c7143fcaed SHA512 7b53390b61d9f50775c6bffffb60bd1bc5ef04e04b1041353b1c6ad2b95d23d50e0698cfa131229809d674b5ca81f52e968ff1384b89703e9cd76f9642f89183
EBUILD mullvad-api-1.0.0.ebuild 801 BLAKE2B 7faa6f71e231c3acbeb070847963e49581833e2c8d514c56e116aed2fec06aedcfe447ec70798043ae83092d0893daf77795e81ba2cc82732259e86aa486175b SHA512 e8248ac92913ea4e96030277fa36f55ff7abeec223d8bb1621db50e4e376293f002ab541a3a0aba4e8597702a72d885eefb1ad8105838dfba467ae1cb6e8d0a0
MISC metadata.xml 330 BLAKE2B f04ee570b3772660df37947fd72632e652acbcd81f34b651649934f69798cc3be37a53654155f301ff916e8fc041127f1a48d290aa57c4f8225e72ecc0bf6805 SHA512 bf58ea5abe5be49c244d388eb148410d8f8c1e0f30363fe73750023631d1ee43104179ce0fcef511e0519331cdb4da5f740d5768b1ec62fc5ff1079ccf9c3cb5

View File

@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">mullvad-api</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,34 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="Python wrapper around mullvad api"
HOMEPAGE="https://github.com/meichthys/mullvad-api https://pypi.org/project/mullvad-api/"
MY_PN=${PN/-/_}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
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
}