1
0

Compare commits

...

4 Commits

Author SHA1 Message Date
c0c31a68c7
app-text/komikku: new package, add 1.31.0, 9999
The GURU version is no longer maintained, but I do not want to
contribute to GURU right now.
2023-12-14 16:44:59 -08:00
a529341b4a
dev-python/pure-protobuf: new package, add 2.3.0
Dependency for Komikku.

Old version because packaing poetry-dynamic-versioning proved to be
really annoying, and I don't want to deal with it right now.
2023-12-14 16:43:36 -08:00
b2ca724bab
dev-python/dateparser: new package, add 1.2.0, 9999
Dependency for Komikku.
The tests are broken, so I ignored those.
2023-12-14 15:50:17 -08:00
4d9b6ca470
dev-python/colorthief: new package, add 0.2.1, 9999
Dependency for Komikku.
The GURU package is unmaintained, so I'll maintain it here for now.
2023-12-14 15:40:57 -08:00
15 changed files with 359 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST komikku-1.31.0.tar.bz2 3403924 BLAKE2B 1c346e42b7077e09a04d524506bb2cd0d69d6b68964c25a710434959bfe8dfc90113be3699588ae7faf910bdf252808dbd00cf7f4cb0941ef4f8f90a2aed5959 SHA512 b36b066bdc52e2544481a582060166c747024def99d142f32e5ffc290bc243541f2cbce7b222fc05483ecca0489ecf6a2c8d8e9401edfb32b1aa3c5e2b68abdd

View File

@ -0,0 +1,78 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite(+),ssl(+)"
DISTUTILS_USE_PEP517=no
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 meson gnome2-utils xdg
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/valos/Komikku.git"
else
MY_PN="${PN^}"
MY_P="${MY_PN}-v${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://gitlab.com/valos/Komikku/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
KEYWORDS="~amd64"
fi
DESCRIPTION="An online/offline manga reader for GNOME"
HOMEPAGE="https://gitlab.com/valos/Komikku"
LICENSE="GPL-3+"
SLOT="0"
RESTRICT="test"
DEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
>=gui-libs/gtk-4.10:4
>=gui-libs/libadwaita-1.3:1[introspection]
net-libs/webkit-gtk:6[introspection]
"
RDEPEND="
${DEPEND}
$(python_gen_cond_dep '
app-arch/brotli[python,${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/colorthief[${PYTHON_USEDEP}]
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/dateparser[${PYTHON_USEDEP}]
dev-python/emoji[${PYTHON_USEDEP}]
dev-python/keyring[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/natsort[${PYTHON_USEDEP}]
dev-python/piexif[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pure-protobuf[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/rarfile[compressed,${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
')
"
BDEPEND="
sys-devel/gettext
"
src_install() {
meson_src_install
python_optimize
python_fix_shebang "${D}/usr/bin/komikku"
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@ -0,0 +1,78 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite(+),ssl(+)"
DISTUTILS_USE_PEP517=no
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 meson gnome2-utils xdg
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/valos/Komikku.git"
else
MY_PN="${PN^}"
MY_P="${MY_PN}-v${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://gitlab.com/valos/Komikku/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
KEYWORDS="~amd64"
fi
DESCRIPTION="An online/offline manga reader for GNOME"
HOMEPAGE="https://gitlab.com/valos/Komikku"
LICENSE="GPL-3+"
SLOT="0"
RESTRICT="test"
DEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
>=gui-libs/gtk-4.10:4
>=gui-libs/libadwaita-1.3:1[introspection]
net-libs/webkit-gtk:6[introspection]
"
RDEPEND="
${DEPEND}
$(python_gen_cond_dep '
app-arch/brotli[python,${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/colorthief[${PYTHON_USEDEP}]
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/dateparser[${PYTHON_USEDEP}]
dev-python/emoji[${PYTHON_USEDEP}]
dev-python/keyring[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/natsort[${PYTHON_USEDEP}]
dev-python/piexif[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pure-protobuf[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/rarfile[compressed,${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
')
"
BDEPEND="
sys-devel/gettext
"
src_install() {
meson_src_install
python_optimize
python_fix_shebang "${D}/usr/bin/komikku"
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="gitlab">valos/Komikku</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1 @@
DIST colorthief-0.2.1.gh.tar.gz 6260 BLAKE2B 63fd49028fe023e105cafcb9b58e696197e924a59c9fc1a857ddb25967a549f8fa848cd54dc09bb08d0a54093dba4ede6cfd77b8c6606be480e89315123ebbb6 SHA512 406c2eaf5e405ff7878444908161ca47628aef592c8e7c473a606f0eeb87957cf3ba6c146f7ba66a6fcd39cf6cd716ff7544be3832bbe0060b7abe8970b0c2d2

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fengsp/color-thief-py.git"
else
SRC_URI="https://github.com/fengsp/color-thief-py/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
MY_PN="color-thief-py"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64"
fi
DESCRIPTION="A module for grabbing the color palette from an image."
HOMEPAGE="https://lokeshdhakar.com/projects/color-thief/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]
"
BDEPEND=""

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fengsp/color-thief-py.git"
else
SRC_URI="https://github.com/fengsp/color-thief-py/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
MY_PN="color-thief-py"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64"
fi
DESCRIPTION="A module for grabbing the color palette from an image."
HOMEPAGE="https://lokeshdhakar.com/projects/color-thief/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]
"
BDEPEND=""

View 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>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">colorthief</remote-id>
<remote-id type="github">fengsp/color-thief-py</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1 @@
DIST dateparser-1.2.0.gh.tar.gz 507104 BLAKE2B 4bd8246466de29b27187a0694e20e8437f0559c5e15a31d8cae76dcb24794a86f4bb6ce91ead015cb606c6477762949e3ab2fea56685db4db0ef5fb62aace4da SHA512 2d37115f25c2076c4521b77b89ef1cff3cd0a5233c45beb00d78a5c9b1a384dcd993ff7cdd1f77db95a53ce566cf7d709d46ffa2e63eb468ac954fda178a5b6e

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/scrapinghub/dateparser.git"
else
SRC_URI="https://github.com/scrapinghub/dateparser/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Date parsing library"
HOMEPAGE="https://dateparser.readthedocs.io/en/latest/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
"
BDEPEND=""

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/scrapinghub/dateparser.git"
else
SRC_URI="https://github.com/scrapinghub/dateparser/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Date parsing library"
HOMEPAGE="https://dateparser.readthedocs.io/en/latest/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
"
BDEPEND=""

View 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>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">dateparser</remote-id>
<remote-id type="github">scrapinghub/dateparser</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1 @@
DIST pure_protobuf-2.3.0.tar.gz 16481 BLAKE2B b56d024b13ef4711c9b53ffc47029fb4e49e025d8c096b547926d44a89769a26d180420698dbf51c2db4b58f8b8df6825d368c921babdd9774e4c3a4f0d72e7e SHA512 2b2eb372cde5b7c765fa878b06fe1a82f57061d0887f560aa84799db09d506a4947b54feffff51391ebf2c87923845f93badbab19e1cf45f998c79f6df75fb05

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">pure-protobuf</remote-id>
<remote-id type="github">eigenein/protobuf</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,20 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Protobufs with dataclass support"
HOMEPAGE="https://eigenein.github.io/protobuf/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"