dev-python/pysesame2: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-17 07:03:35 +02:00
committed by Andreas Billmeier
parent c202d9dc42
commit d464a19f42
4 changed files with 9 additions and 40 deletions

View File

@@ -547,11 +547,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1529 Ebuilds in total, 1522 of them have in total 1533 (34 different) licenses assigned.
There are 1528 Ebuilds in total, 1521 of them have in total 1532 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|897|
|MIT|896|
|Apache-2.0|307|
|GPL-3|93|
|BSD|89|

View File

@@ -1,5 +1,3 @@
DIST pysesame2-1.0.1.tar.gz 3903 BLAKE2B 679b83d2b723b05306c908dab21510e58c90d235f826e0d02d416f3e48af013ca7aa7db756ab0ce186d6f797d0c38a15cdd63d9be3dbb58d723876593a31d71b SHA512 d928cdec5c5f5d14ba604b685fcfb3fc671f08999e3884dcac5253ea59bbc7ccf6406b36dc61383333a287683333fa45b7840a9fbb78022c3530157c795787b5
DIST pysesame2-1.0.2.tar.gz 3908 BLAKE2B 29533581cb6ee1a56d6e24336c1143a7635e03c0f6a1da2f76db82303298187514505508e19d3c3179bcfece653c1f57ce17774b1d7067caa6eaf2266309fb5d SHA512 26154d32eb098f60a0c67cc41f413ab29d2bec423d2f8663b62f923f98bd84217e862540b42e9f987716e75c192c1ad93a6612dee0e7f01426fed6616a7f60a3
EBUILD pysesame2-1.0.1.ebuild 764 BLAKE2B 42da961ff428d636f37bd58869976af2e6b82d5cb455fba12525554c732b0305b591cf99c655e00ec090e40966989576ed94ddd7f6eaaf8a61c00dd53e2de2b1 SHA512 56fda80eb5feee06227a187b511fa6e5798cd8fa0813673dba8dbfce25add26063e046f0e4b840cc30cad678a2b901353ec3b531860182f77dcb53576a1f2a25
EBUILD pysesame2-1.0.2.ebuild 764 BLAKE2B 42da961ff428d636f37bd58869976af2e6b82d5cb455fba12525554c732b0305b591cf99c655e00ec090e40966989576ed94ddd7f6eaaf8a61c00dd53e2de2b1 SHA512 56fda80eb5feee06227a187b511fa6e5798cd8fa0813673dba8dbfce25add26063e046f0e4b840cc30cad678a2b901353ec3b531860182f77dcb53576a1f2a25
EBUILD pysesame2-1.0.1.ebuild 753 BLAKE2B c50675b99e9eabc033e940c4edc5122ef7a153117ab4219ac04a5d1e1291194f24330ac0af16afb251d7b7f1b9ce5f35e86f155c98272a51b61a4a0c8828c5b4 SHA512 f01ada14128cda13e4bbaa69a76a8190e0a2b7f136e6d5728ee1ad751638e43c5117cc2c14dce850ceb7144e53cb351739a50214b490ecbc44252d0fc171cd7c
MISC metadata.xml 458 BLAKE2B 032dabee0dfdaa1f71b135111425e62d55587dbc6893f68cbfe8aca25b4b77f6de3c19b6a3fdd181f8da9a25bbb1204b197b2343d089a1dcee177dde60683a06 SHA512 c5cd8659fa583413b0665ca4a3ebdbf0b0fda5a9fdd8bed9dc73a15a21debd335827d6c9af2bb3ff2593755416a989d07fc43b8a725069044988f1ca45eb5710

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,10 +13,12 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Python API for Sesame Smartlock made by CANDY HOUSE, Inc."
HOMEPAGE="https://github.com/yagami-cerberus/pysesame2 https://pypi.org/project/pysesame2/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
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
}