add file-read-backwards-2.0.0

This commit is contained in:
Andreas Billmeier 2022-07-09 13:28:42 +02:00 committed by Andreas Billmeier
parent f1a3c706ac
commit 6f1b12c7d6
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 58 additions and 2 deletions

View File

@ -524,11 +524,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 1765 Ebuilds in total, 1758 of them have in total 1766 (35 different) licenses assigned.
There are 1766 Ebuilds in total, 1759 of them have in total 1767 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1078|
|MIT|1079|
|Apache-2.0|318|
|GPL-3|106|
|BSD|99|

View File

@ -0,0 +1,3 @@
DIST file-read-backwards-2.0.0.tar.gz 21088 BLAKE2B 8847415cc9b97f37d24d1b17353b59588bf23f4e588ce163c60f7052965ff4a8d77f29812a5b8ea40e38013b4838925a3fc263529021728ae0e65e487190d389 SHA512 1468bc6a6b8649c0e3a499766b92aa899a4376c5a14d47c5c68e32462a62e124486608bc940c22019023a1a868b7e7564785181d3536e3639e58e059c49dcbb1
EBUILD file-read-backwards-2.0.0.ebuild 884 BLAKE2B ff27b54e6c5237d5f04d56b1893ac97a02da186d6d3db93695549e6a184ebfcd10f852daebe9fe316f3147bced39c1c20427f5ce7b7b19752544cc1f55bf3721 SHA512 47f09e9ce5debb40275ee2a9bee1f276d2dc0b453f547b307cdd18411cb64d1f9705bbe7f2c98dd2d42f57e18d840e767fad661e9c06a87a417d47d962186613
MISC metadata.xml 466 BLAKE2B 8a6ec94aad0d9da5bc4b09dad7c659164e73d999b4ccb11fcb92a5e2c824acf09486faa464bc48d53421710ef6d1f96b764a1c6b50d3e46730e97a378278cf13 SHA512 28f8f386d04212d481cc4189fd6622c71f00e1e80566fc900f9c2914dc8a34aae3543aa57112e2a5030a2619053e371e39d6904fffc17be21b051ec6b8558c58

View File

@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Memory efficient way of reading files line-by-line from the end of file"
HOMEPAGE="https://github.com/RobinNil/file_read_backwards https://pypi.org/project/file-read-backwards/"
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"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,15 @@
<?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">file-read-backwards</remote-id>
<maintainer status="unknown">
<email>robinsquare42@gmail.com</email>
<name>Robin Robin</name>
</maintainer>
</upstream>
</pkgmetadata>