mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
Merge updates from master
This commit is contained in:
1
app-text/komikku/Manifest
Normal file
1
app-text/komikku/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST komikku-0.12.0.tar.gz 769028 BLAKE2B f2304f2faff4df5ecb0d45ba51bed35093a4e2eb539603060da279d1fce14753f85fa3262e971f3dec0e17ea65d17560f92ad84510f1a0519ab9a7f443e59c92 SHA512 ba9af4c5eff5b9814e8262e8e325ba2d64cbcc73faa53133fdfc839b0e1b558538c08acf26c981cf417a313f5d36c981afb3b9cd5c7a57f899fa774aa51f138c
|
||||
73
app-text/komikku/komikku-0.12.0.ebuild
Normal file
73
app-text/komikku/komikku-0.12.0.ebuild
Normal file
@@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="Komikku"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
PYTHON_COMPAT=( python3_7 )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
inherit distutils-r1 meson gnome2-utils xdg
|
||||
|
||||
DESCRIPTION="An online/offline manga reader for GNOME"
|
||||
HOMEPAGE="https://gitlab.com/valos/Komikku"
|
||||
SRC_URI="https://gitlab.com/valos/${MY_PN}/-/archive/v${PV}/${MY_PN}-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
# Requires network connection to test
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=gui-libs/libhandy-0.0.10
|
||||
>=x11-libs/gtk+-3.24.10
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/cloudscraper[${PYTHON_USEDEP}]
|
||||
dev-python/dateparser[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pure-protobuf[${PYTHON_USEDEP}]
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-v${PV}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_foreach_impl python_optimize
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PYTHONPATH="${S}:${PYTHONPATH}" python_foreach_impl python_test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_schemas_savelist
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_gconf_install
|
||||
gnome2_schemas_update
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_gconf_uninstall
|
||||
gnome2_schemas_update
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
11
app-text/komikku/metadata.xml
Normal file
11
app-text/komikku/metadata.xml
Normal 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="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">valos/Komikku</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
1
dev-python/cloudscraper/Manifest
Normal file
1
dev-python/cloudscraper/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST cloudscraper-1.2.34.tar.gz 115370 BLAKE2B 83161345b94378af08d8df51d58fd268c623545c00ff786d7005fa2908ee328c40d26c1a88f759008401af5e1134525981ca18e06553a60a864eda97c4948584 SHA512 ee9b75cbf5a16b97e6806e7ea902566a4f8e7aa4ad0128227fbe9e91897dfdbbd709049cdc22181b0a0eb7bda5d572c0f0b1264f621dcb100be3af2ee04a7ba9
|
||||
35
dev-python/cloudscraper/cloudscraper-1.2.34.ebuild
Normal file
35
dev-python/cloudscraper/cloudscraper-1.2.34.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python module to bypass Cloudflare's anti-bot page"
|
||||
HOMEPAGE="https://github.com/venomous/cloudscraper"
|
||||
SRC_URI="https://github.com/VeNoMouS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# TODO: Package js2py to support this test
|
||||
sed -i -e 's:test_js_challenge_11_12_2019:_&:' \
|
||||
tests/test_cloudscraper.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
12
dev-python/cloudscraper/metadata.xml
Normal file
12
dev-python/cloudscraper/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">venomous/cloudscraper</remote-id>
|
||||
<remote-id type="pypi">cloudscraper</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
1
dev-python/convertdate/Manifest
Normal file
1
dev-python/convertdate/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST convertdate-2.2.0.tar.gz 37221 BLAKE2B ac849bf3fde5c7cc0b57ec321c10915fa50541bbe17fd5e253d5a717d85ebae0abf185eba5129216836da9e4c9740e000358375ef60c17f6050fdb4316d620ff SHA512 73ae308717d1cc9db8e8b1a8618327ab5111c1a58ee757ddc685b3906903bc0a263ccf844e2ba4a7d3f77334462c7260c953697af55050a35058d4b94992c140
|
||||
23
dev-python/convertdate/convertdate-2.2.0.ebuild
Normal file
23
dev-python/convertdate/convertdate-2.2.0.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Utils for converting between date formats and calculating holidays"
|
||||
HOMEPAGE="https://github.com/fitnr/convertdate"
|
||||
SRC_URI="https://github.com/fitnr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pymeeus[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
12
dev-python/convertdate/metadata.xml
Normal file
12
dev-python/convertdate/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">fitnr/convertdate</remote-id>
|
||||
<remote-id type="pypi">convertdate</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
1
dev-python/dateparser/Manifest
Normal file
1
dev-python/dateparser/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST dateparser-0.7.4.tar.gz 312033 BLAKE2B e1cd42f8cea630d31cd65f4663a4b4758cc6de5aeb84dd36a442e286dcb5fd9217bd02da86336e979bc3f1cfe53c2062bfcbc386145d105193e23da432012924 SHA512 3666604878c55eeffdbd326579eb3c0eb68b65422147d75366b686f332ac853f8042af7f4a7ed7c9ae3fe35b5a991691367d600ddaeea1b991f5dccfc509e79a
|
||||
34
dev-python/dateparser/dateparser-0.7.4.ebuild
Normal file
34
dev-python/dateparser/dateparser-0.7.4.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
|
||||
HOMEPAGE="https://github.com/scrapinghub/dateparser"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/convertdate[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
dev-python/tzlocal[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests nose
|
||||
distutils_enable_sphinx docs
|
||||
12
dev-python/dateparser/metadata.xml
Normal file
12
dev-python/dateparser/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">scrapinghub/dateparser</remote-id>
|
||||
<remote-id type="pypi">dateparser</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
1
dev-python/pure-protobuf/Manifest
Normal file
1
dev-python/pure-protobuf/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pure-protobuf-2.0.0.tar.gz 17576 BLAKE2B 49979559b3c08eb9abdddfa80e78ca4d953347a005b042d5b69aa4c6caef185c358408b1bf54d9161c0cadf69422b1ed033c74b324e947328c55f8b6ec4fd050 SHA512 a8d5211f34d0d6fab28d8b54fb3bb87d41a13b61a01f6f79f47fc1c0eafaf1ab17ddfd323c1035fcd4794b7b23823f48f38af3aa485835683f824cdd4689b098
|
||||
12
dev-python/pure-protobuf/metadata.xml
Normal file
12
dev-python/pure-protobuf/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">eigenein/protobuf</remote-id>
|
||||
<remote-id type="pypi">pure-protobuf</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
30
dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
Normal file
30
dev-python/pure-protobuf/pure-protobuf-2.0.0.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/eigenein/protobuf
|
||||
https://pypi.org/project/pure-protobuf/
|
||||
"
|
||||
SRC_URI="https://github.com/eigenein/protobuf/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
S="${WORKDIR}/protobuf-${PV}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install() {
|
||||
# Package installs 'tests' package which is forbidden and likely a bug in the build system.
|
||||
rm -r tests || die
|
||||
|
||||
python_foreach_impl distutils-r1_python_install
|
||||
}
|
||||
1
dev-python/pymeeus/Manifest
Normal file
1
dev-python/pymeeus/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST PyMeeus-0.3.7.tar.gz 732308 BLAKE2B c8231e154ca08ba0ccc68d3634f7b3d6ec0d94980134fbb495409856d01a7588d506e142120b632e89158da16b6a635d0a33f6f270d87ec16a214d71f78bad75 SHA512 834fd3329437827a65a653b5bde9070e049a7932cac3ce06edfdfbd8efd6649b96de9ce46c032b18a7413bcf30d012f21857442e9dd2cf1f0ef23434682cf5e0
|
||||
12
dev-python/pymeeus/metadata.xml
Normal file
12
dev-python/pymeeus/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">architest/pymeeus</remote-id>
|
||||
<remote-id type="pypi">PyMeeus</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
24
dev-python/pymeeus/pymeeus-0.3.7.ebuild
Normal file
24
dev-python/pymeeus/pymeeus-0.3.7.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="PyMeeus"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of Jean Meeus astronomical routines"
|
||||
HOMEPAGE="https://github.com/architest/pymeeus"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
|
||||
1
dev-python/redbaron/Manifest
Normal file
1
dev-python/redbaron/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST redbaron-0.9.tar.gz 708544 BLAKE2B e3314a29e66fe2e91ef28183f5e9f6c91117963bfffa0bcc1fb62602bc87b1c5fcf058ff545c3515e0de8077f70298aa788960e7409cbde6a0199701947786f6 SHA512 db99be12a1a0a3caab80f8b319d2966ffe5f80b15e5f838212bdb327c75c411ee273b4ff44dae76010165bd563275eb50c8c5b8d87284a493114224603e9cb25
|
||||
12
dev-python/redbaron/metadata.xml
Normal file
12
dev-python/redbaron/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">PyCQA/redbaron</remote-id>
|
||||
<remote-id type="pypi">redbaron</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
39
dev-python/redbaron/redbaron-0.9.ebuild
Normal file
39
dev-python/redbaron/redbaron-0.9.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A FST for python to make writing refactoring code a realistic task"
|
||||
HOMEPAGE="
|
||||
https://redbaron.readthedocs.io/
|
||||
https://github.com/PyCQA/redbaron
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/baron-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
distutils_enable_sphinx docs dev-python/ipython
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove "__pycache__". Reason: unique basename
|
||||
rm -rfd "${S}"/tests/__pycache__ || die
|
||||
|
||||
# Skip tests. Reason: calls fixture "red" directly
|
||||
rm "${S}"/tests/test_bounding_box.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
Reference in New Issue
Block a user