Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-02-27 15:16:55 +00:00
126 changed files with 1136 additions and 1300 deletions

1
app-admin/oet/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST oet-0.0.0.2.tar.gz 18284 BLAKE2B 94db54554b62a2cf598d7c970de9fe4540635f9a877025dea89c2b4580ae9a2dbe784fb27e8cf57a9a5998acad0229356c30167777a6ac56b8b8b41ccc5bc3e2 SHA512 82e4a0b26d988b7c3286495d8d5747225aaecc7516979fb70723d3351858750eb32c09663f0238efa638732ce5c21be92b503a15f85b6d6ad6771dab4bdf0836

View File

@@ -0,0 +1,34 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Update your system into binpkgs in an overlay sandbox"
HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool.git"
EGIT_BRANCH="main"
[[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
else
SRC_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool/archive/oet-${PV}.tar.gz"
S="${WORKDIR}/overlay-emerge-tool"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="LGPL-2"
SLOT="0"
src_install() {
dosbin src/oet
dodir /usr/share/oet
insinto /usr/share/oet
doins src/oet_auto_emerge_update.source
doins src/oet_interactive.source
doman resources/oet.1
}
src_compile() {
true
}

View File

@@ -1,3 +1,6 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Update your system into binpkgs in an overlay sandbox"
@@ -5,30 +8,25 @@ HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool.git"
EGIT_BRANCH="0.0.0.1"
[[ "${PV}" == "9999" ]] && EGIT_BRANCH=0.0.0.1
EGIT_BRANCH="main"
[[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
else
SRC_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool/archive/oet-${PV}.tar.gz"
S="${WORKDIR}/oet-${PV/_rc/-rc.}"
KEYWORDS="~amd64"
S="${WORKDIR}/overlay-emerge-tool"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="LGPL-2"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
dosbin src/oet.sh
dosbin src/oet
dodir /usr/share/oet
insinto /usr/share/oet
doins src/oet_auto_emerge_update.source
doins src/oet_interactive.source
doman resources/oet.1
}
src_compile() {

View File

@@ -3,11 +3,11 @@
EAPI=8
PYTHON_COMPAT=( python3_10 )
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
inherit distutils-r1 toolchain-funcs
DESCRIPTION="A double-entry accounting system that uses text files as input"
HOMEPAGE="https://beancount.github.io https://github.com/beancount/beancount"
@@ -25,32 +25,73 @@ RDEPEND="
dev-python/google-api-python-client[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/ply[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
')
"
BDEPEND="
sys-devel/bison
sys-devel/flex
"
EPYTEST_DESELECT=( scripts/setup_test.py )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# remove test deps from 'install_requires'
sed "/pytest/d" -i setup.py || die
# we'll regenerate C sources
rm ${PN}/parser/grammar.{c,h} || die
rm ${PN}/parser/lexer.{c,h} || die
# repair tests
sed "/def find_repository_root/a\ return '${S}'" \
-i ${PN}/utils/test_utils.py || die
sed "s/\[PROGRAM\]/['${EPYTHON}', PROGRAM]/" \
-i ${PN}/tools/treeify_test.py || die
sed "/DATA_DIR =/c\ DATA_DIR = '${S}/${PN}/utils/file_type_testdata'" \
-i ${PN}/utils/file_type_test.py || die
distutils-r1_src_prepare
}
src_configure() {
tc-export CC
}
python_compile() {
distutils-r1_python_compile
# keep in sync with hashsrc.py, otherwise expect test failures
cp beancount/parser/{lexer.l,grammar.y,decimal.h,decimal.c,macros.h,parser.h,parser.c,tokens.h} "${BUILD_DIR}"/install$(python_get_sitedir)/${PN}/parser || die
local csources=(
decimal.{c,h}
grammar.y
lexer.l
macros.h
parser.{c,h}
tokens.h
)
for file in "${csources[@]}"; do
cp ${PN}/parser/${file} "${BUILD_DIR}"/install$(python_get_sitedir)/${PN}/parser || die
done
}
src_compile() {
local mymakeflags=(
PYCONFIG="$(python_get_PYTHON_CONFIG)"
)
emake "${mymakeflags[@]}" ${PN}/parser/grammar.c
emake "${mymakeflags[@]}" ${PN}/parser/lexer.c
distutils-r1_src_compile
use test && \
emake "${mymakeflags[@]}" ${PN}/parser/tokens_test
}
python_test(){
@@ -59,6 +100,10 @@ python_test(){
}
src_test() {
emake ctest
local mymakeflags=(
PYCONFIG="$(python_get_PYTHON_CONFIG)"
)
emake "${mymakeflags[@]}" ctest
distutils-r1_src_test
}

View File

@@ -1,2 +1 @@
DIST Komikku-v1.11.1.tar.bz2 5051301 BLAKE2B 3c126b5c385fc33eb1341ae7c13a2113400416c457d38541d82a01bc839b993efac1f157b852f22d34f7a9ecdbfdfa93fb0713b541411e6adedc3ca26a3ae531 SHA512 7e3ec9ef62c4c88ce68235864c9d2a03a8f95728a4585b999b0d63507d5b7f16acfa7150c8285f17f6985dcafc41515697e52f4d042ddccc0f4acf0944bca55d
DIST Komikku-v1.12.1.tar.bz2 5048587 BLAKE2B 4055edebe237a665da9ed231b44c4a906246c154d6dc4608116baf4107663d8032a3b0faa2a6c0dca00b5df27af975a4f7e6f4b96976dd9d472d7775a7222cff SHA512 d9c83ca821f5e5d377288ff7d7cb09c1a56a06fb80c2a9a96ca0d7a998acf12dfbec884ea96e142cf860d7a598716e482b7f4d1d5805292cc986e00155118a60

View File

@@ -1,92 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
PYTHON_REQ_USE="sqlite(+),ssl(+)"
DISTUTILS_USE_PEP517=no
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 meson gnome2-utils virtualx xdg
MY_PN="${PN^}"
MY_P="${MY_PN}-v${PV}"
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_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64"
LICENSE="GPL-3+"
SLOT="0"
IUSE="test"
RESTRICT="test"
PROPERTIES="test_network"
DEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
>=gui-libs/gtk-4.8.2:4
>=gui-libs/libadwaita-1.2.0[introspection]
net-libs/webkit-gtk:5[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/cffi[${PYTHON_USEDEP}]
dev-python/cloudscraper[${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/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
test? (
$(python_gen_cond_dep '
dev-python/pytest-steps[${PYTHON_USEDEP}]
')
)
"
distutils_enable_tests pytest
src_prepare() {
default
# fix broken shebang
sed "s|py_installation.full_path()|'${PYTHON}'|" -i bin/meson.build || die
}
src_test() {
virtx epytest
}
src_install() {
meson_src_install
python_optimize
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@@ -1 +1,2 @@
DIST indicators-2.2.tar.gz 8974714 BLAKE2B 538e9d77c7d4f19cc81d4476288ce7f78198a61252885a78e166f39137e8653082d02861cbf2469b08cc3af5f6ed4e76c343ca1d95aec67d35f2dbcde4ba72c2 SHA512 7ced2d3c320d51c7e0569104744730c8e2f952350bcae214a9781eb43ef4002c8314937db78461351741fc4c3aee7a1364582b1274991e95eb30006a5f2a7ef9
DIST indicators-2.3.tar.gz 8970430 BLAKE2B d81ba95908302c74830bef4aff5b07fe0352c88630bcb5480f7b2701efe20f3d32fc3c2279cbba558be40ece98cbbd8f9f02c1008c915149eb698ac517b58abd SHA512 59fb17e93c886cec2418e93e221febd2bf3160691b3473363417f8f8fa3d50d42d1de0e55d62598eba800b13c1d5ab1422d0a2c867246006b61340ba32d99232

View File

@@ -0,0 +1,25 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Activity indicators for modern C++"
HOMEPAGE="https://github.com/p-ranav/indicators"
SRC_URI="https://github.com/p-ranav/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
QA_PKGCONFIG_VERSION="${PV}.0"
src_install() {
cmake_src_install
rm -r "${ED}"/usr/share/licenses || die
docompress -x /usr/share/doc/${PF}/samples
use examples && dodoc -r demo samples
}

View File

@@ -1 +1,2 @@
DIST athena-negotiation-0.1.2.tar.gz 10625 BLAKE2B 3c66a2b696c44e16f8d98d05b187f5a29bab9d39ac9270e4a72ab65814c71c960d14849e6852ec6a88d325094c6f13fb600801dfbcd3cda93eac48715819ddee SHA512 c5e00af6d5981b7e9567958113bb140beddf305fec990fd825f67d3ded3dc6773162435be91c7b419abc264c45f366eaaa4adede7db16c460b02052be61f7913
DIST athena-negotiation-0.1.3.tar.gz 10687 BLAKE2B 13f5e206e209be614b0e24f7ee990ed024c1f0b0b69d6e0646d8d220e268a0a12bd9b1af60f05a74fd4152e20cab1658c87016f91882ed91463ddbec732a927a SHA512 6a338defbc773b5f8eb8472ba4bf18429f5418b7ac7a12cf889e75e6b42098243f6afddaaa3288e6ea5abb56107310f7510fc7911ea760aea9d61eae3369c3df

View File

@@ -0,0 +1,26 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shards
MY_PN="${PN#athena-}"
DESCRIPTION="Framework agnostic content negotiation library"
HOMEPAGE="https://github.com/athena-framework/negotiation"
SRC_URI="https://github.com/athena-framework/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-crystal/athena-spec
)
"
DOCS=( {CHANGELOG,README}.md )

View File

@@ -1,2 +1,2 @@
DIST athena-spec-0.3.1.tar.gz 9428 BLAKE2B af529b663783bbd28d6e7d66e5a7693dc62cd7dad3edc71fe74b56df4860d434b34ca649089c9e34c6cce835248064cc263f9b2b7bb8167ccb163b6ae008a807 SHA512 cd4e4896742342cfb0e1f862a21dbb1b3e18541f1d3a2031c86df7de4b83ac42addf756f5a52be1c60f27125b17b000d6e642bfbd91a1b2219eb2e71d5d65e63
DIST athena-spec-0.3.2.tar.gz 10273 BLAKE2B d0d21762e9521df00c398c78a1fe7aa319c03095e6bc909d457c60fef283715be63a13465e6fe16e449901f69a8ae0178376d79a4835d10f32ccb485fa0dab77 SHA512 631ed3b2d4bea225b31322b6c059762c43cffafed232f795073c0ad8c4012a83690b4dca53aa0b4c68910c8b23f25393bfe4b1059815525f4092d063a1c7cf5d
DIST athena-spec-0.3.3.tar.gz 10339 BLAKE2B 9abbde9a422af9da6588d215d6743a5ea99c53ff089cdfc45c2b35e99c5b1e00624be413e52174c0cf6ebdc7abd4e7156e694bd21bae223684f2fbbeea6e3033 SHA512 93066495fdf3eaadb511150ee4bcce3a1ff90696f62ff69ac9baf0b7b509c2ff9e1c41010eaad941354c317a88cd5b59a9df0b7f5b7755f0c6c715b64a9afdfd

View File

@@ -1,2 +1,2 @@
DIST sealcurses-0_pre20220523.tar.gz 22284 BLAKE2B bbff082a61d0dc8c8d80d4dbdc65b5804796b396692c8ed36af64db785481654ec28408d1219e05ebf975007c93ff0aeedc84ec6d741c323edb040484ac6287a SHA512 a84deb17f75ab66ac37a811da03df12862df73d78a9a53f836376f3be81e2c8bde0f80bf11dd8f42cd8b05e998d87287e373d74050361cf7c974aecaa00eb52e
DIST sealcurses-2.0.18_pre20220609.tar.gz 22306 BLAKE2B 52a02e8a0b18957f9275a2715973751de23bd9d6a98f8e36321e10bfe14d6ed728eed6bd14b1dc8d48510f4c4186672cc5a9160991979ed28cb0e8a3b9c22dcd SHA512 6bfa0c1154346c0f6eaf92f76ad616ec250d011e47ea6497b1014fa60685d7545860dd47b54212bb819f416222faea9f3e96f08ed08da79e42998f115a63d1e6
DIST sealcurses-2.0.18_pre20230206.tar.gz 22432 BLAKE2B e9736f965a7d5853bae6e9b388d87241e54469bed503bdd85f234072d4fcf9172d8eb8ed98dfad9f376242c71fec84a9dbedef76c5fac114bff6ea4d181e9257 SHA512 e21d9bab648e9a64bd349acbf5aada780cbf5ad8755bd6b1c308c5e318d1d61d2fefc95e480a051678c411297d339481868a07cf0a81c7cc2628e37ce33801e4

View File

@@ -1,18 +1,18 @@
# Copyright 2021-2022 Gentoo Authors
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
COMMIT="d64caa13bc06b68906bb0a5cc87f1896226b0918"
COMMIT="e11026ca34b03c5ab546512f82a6f705d0c29e95"
DESCRIPTION="SDL Emulation and Adaptation Layer for Curses"
HOMEPAGE="https://git.skyjake.fi/skyjake/sealcurses"
SRC_URI="https://git.skyjake.fi/skyjake/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="BSD-2"
SLOT="0"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~amd64 ~x86"
RDEPEND="
@@ -21,7 +21,9 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
src_install() {
cmake_src_install
find "${ED}" -name libsealcurses.a -delete || die
src_configure() {
local -a mycmakeargs=(
-DENABLE_STATIC=OFF
)
cmake_src_configure
}

View File

@@ -1,2 +1,2 @@
DIST cligen-1.5.37.tar.gz 429632 BLAKE2B d35befa3e6dbecdcb4cf07d6f42342f5be5a57e0c0d19e07611d9fbb1c91eae9d09cd56febd1530e656ac76be5ed60a52aee45b1c0f163f2b6dffededff480a4 SHA512 94cc526e461220d40231c3455b2382b1aafcc018d62a35838f9f23cdd72ac4cb0b552766c2e12da7e7bb6a08cccef2826678a1e07d201482e93d7eecf1faee32
DIST cligen-1.5.38.tar.gz 432352 BLAKE2B cfcd96a5f8f9f4ed0e4942a596ed6c00ee5dac2f0daf22d783cc056b17b6c16777abfe9f10c8326978751308353a122b435d14a033e499c357a80c25bf4edf0d SHA512 df49c8accb05bd17e097f74a59fc904bfb42bccc6610ea70656d140a5d54fe14234af2ce61f50623a2b48b52e757551ac17bf77fa887e37b5b8bf4b5e79fa0a1
DIST cligen-1.5.39.tar.gz 433806 BLAKE2B 2c0ae6224ea737930eceb35775d708c284f7b4d6ae7614c5d83914701904653ac51b73fd73b9f7802469c5b734cfa8e2fda34a77b844ad05a40ab1ac93f4dacf SHA512 56e32b020cd21f405ab2598a22b02964cf503b85c3444b2a6de36324fa1ca6fa030ff3afdfc0e57b952f03b681f83909f2842e646961bf5a3c1f451f935fefcb

View File

@@ -15,9 +15,12 @@ SRC_URI="https://github.com/c-blake/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
LICENSE="ISC MIT"
SLOT="${PV}"
KEYWORDS="~amd64"
RESTRICT="test" # Version.nim test fails
IUSE="examples"
DOCS=( configs examples {MOTIVATION,README,RELEASE-NOTES,TODO}.md )
# Version.nim test fails
RESTRICT="test"
DOCS=( configs {MOTIVATION,README,RELEASE-NOTES,TODO}.md )
set_package_url "https://github.com/c-blake/cligen"
@@ -26,6 +29,10 @@ src_test() {
}
src_install() {
docompress -x /usr/share/doc/${PF}/examples
if use examples; then
docompress -x /usr/share/doc/${PF}/examples
dodoc -r examples
fi
nimble_src_install
}

View File

@@ -1 +1,2 @@
DIST markdown-0.8.5.tar.gz 123499 BLAKE2B e5b775f446901a54bee00af31b2d23d6f08d9278e12e62f832be9c3cc4e2414c609609ef5dbe07ca16974ccddcbeb04665163f7d761a5026ec8d7c072a422b96 SHA512 1d1188cff1174b318a5c708863a82464ae10d9d6c4bb621e14f5eb618daf491d001a5b9fdd8c06a782a94bcb833a9007a876c234700172f63991b78b1b5eb33f
DIST markdown-0.8.7.tar.gz 124239 BLAKE2B 8be0029d8d2a979cb283c19feed81660c9ac81567d1f98a0bf28fa3a3351d693ef7b4c210d681257e8acfb9160f12ba3adcc6b826be148a62abdc0976dfe57a1 SHA512 6483ec61ed8b6391140a935ebe022e106108021c8abe501a424ce05f66199790aa67411d0744cd5cd44b6d8d88e0d61a4562d9ef07be156b0b50e4830b6991b6

View File

@@ -0,0 +1,25 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit nimble
DESCRIPTION="A Markdown Parser in Nim World"
HOMEPAGE="
https://github.com/soasme/nim-markdown
https://nimble.directory/pkg/markdown
"
SRC_URI="https://github.com/soasme/nim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/nim-${P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
set_package_url "https://github.com/soasme/nim-markdown"
src_install() {
nimble_src_install
mv "${ED}"/usr/bin/{markdown,nim-markdown} || die
}

View File

@@ -1 +1 @@
DIST MutatorMath-3.0.1.gh.tar.gz 234416 BLAKE2B 999b0fb3c5cca8252fc27efa099e5046d17604b77a38322fd3a13b7e96d7b6ac123dafe75f3a295e908ec8891e5342df319c7faca3612d953849895e8c99f17a SHA512 a1be360c866783543b375872a406eb61ac41ce21a6fd7c9b8d349758525c998d7d2613ad55208a5f8709a81c0ea8ea7e4bad76f0a554e8ce8e62aa6c9a00bbb5
DIST MutatorMath-3.0.1.zip 421722 BLAKE2B bfa6f796ac0b67f2c8d22bdca9f1dfbcebe9b8185778563c1c67c5e8a5748cf0462e06d9e58dc5ea49e5986f9faeabb9310ce775281f9ee888262047b0f87dea SHA512 9f0af87f4811b27dd3b0e791a230fe0fa1e90e9605673d8753fb3966155483a37fd126646e4deeae79233e8ecc22ee042ae5f985a1bdc5e2696997eff444b801

View File

@@ -1,31 +0,0 @@
# 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="A library for piecewise linear interpolation in multiple dimensions"
HOMEPAGE="https://github.com/LettError/MutatorMath"
SRC_URI="https://github.com/LettError/MutatorMath/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
RDEPEND="
dev-python/defcon[${PYTHON_USEDEP}]
dev-python/fontMath[${PYTHON_USEDEP}]
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/unicodedata2[${PYTHON_USEDEP}]
)
"
distutils_enable_tests setup.py

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="A library for piecewise linear interpolation in multiple dimensions"
HOMEPAGE="
https://pypi.org/project/MutatorMath/
https://github.com/LettError/MutatorMath
"
SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)"
KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
RDEPEND="
dev-python/defcon[${PYTHON_USEDEP}]
dev-python/fontMath[${PYTHON_USEDEP}]
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
"
BDEPEND="
app-arch/unzip
test? (
>=dev-python/unicodedata2-15.0.0[${PYTHON_USEDEP}]
)
"
DOCS=( Docs README.rst )
distutils_enable_tests setup.py

View File

@@ -1 +1,2 @@
DIST asyncmy-0.2.5.gh.tar.gz 136467 BLAKE2B 1d5f687a5044653f00653d1b07129fdcb8465b7739e9d9d4b7481fbe3f406f0191c0642d46329e3639c8024a89ff70b8417bd26cdeaf804e278256e0bbb03eef SHA512 6777ccb9be483e2af996e3c814cb00a8db3b5d360c5543224265fd28c851bde4dfa9b81930c7928c10714f9ebed9134b1b5cc72f07c633fbb6eb4add7a10915d
DIST asyncmy-0.2.7.gh.tar.gz 141090 BLAKE2B a16aa12dd68d7e7af36f854b0c05e03870c09087b85cd4154df30b2353fa1e6863def03e07873211594b5dce726b0ea18ceb796503cec83e62ebda9276498a40 SHA512 570add3f83088ed970305af26b17b639aed1954872f52310a4c24a588ce705481203ad5f0e82084d9d6a24a34913bc396b279c57c4b7b715ff2ef4840bc619c9

View File

@@ -0,0 +1,73 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="ssl"
DISTUTILS_USE_PEP517=poetry
inherit databases distutils-r1 optfeature
DESCRIPTION="A fast asyncio MySQL driver"
HOMEPAGE="
https://pypi.org/project/asyncmy/
https://github.com/long2ice/asyncmy
"
SRC_URI="https://github.com/long2ice/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
TEST_S="${S}_test"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
$(emysql --get-depend)
)
"
distutils_enable_tests pytest
src_unpack() {
default
cp -a "${S}" "${TEST_S}" || die
rm -r "${TEST_S}"/asyncmy || die
}
src_test() {
emysql --start
local sockfile=$(emysql --get-sockfile)
local myargs=(
--user=root
--socket="${sockfile}"
--silent
--execute="ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';"
)
ebegin "Changing database password"
mysql "${myargs[@]}"
eend $? || emysql --die "Changing database password failed"
distutils-r1_src_test
emysql --stop
}
python_test() {
cd "${T}" || die
epytest "${TEST_S}"
}
python_install() {
distutils-r1_python_install
find "${ED}"/usr/lib -name '*.md' -delete || die
find "${ED}"/usr/lib -name LICENSE -delete || die
}
pkg_postinst() {
optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryprography
}

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Python bezier manipulation library"
HOMEPAGE="https://github.com/simoncozens/beziers.py"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pyclipper[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/shapely[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
dev-python/dotmap[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${P}-no-install-tests.patch" )
distutils_enable_tests pytest

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature pypi
DESCRIPTION="Bezier curve manipulation library"
HOMEPAGE="
https://pypi.org/project/beziers/
https://github.com/simoncozens/beziers.py
"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="dev-python/pyclipper[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/dotmap[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${PN}-0.4.0-no-install-tests.patch" )
distutils_enable_tests pytest
pkg_postinst() {
optfeature "alpha_shape support" "dev-python/numpy dev-python/scipy dev-python/shapely"
optfeature "brush support" dev-python/shapely
optfeature "pen protocol support" dev-python/fonttools
optfeature "plot support" dev-python/matplotlib
}

View File

@@ -1,22 +1,25 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Routines for extracting information from fontTools glyphs"
HOMEPAGE="
https://commandlines.github.io
https://pypi.org/project/commandlines/
https://github.com/chrissimpkins/commandlines
"
SRC_URI="https://github.com/chrissimpkins/commandlines/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/chrissimpkins/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme

View File

@@ -1,2 +1 @@
DIST cu2qu-1.6.7.post1.zip 136959 BLAKE2B 9b1ffbe234177794b0c3726c8959351e614d2e9a03e5b95e462beacaa2a6ba2932732b92e32d2dd91a712c6b73beeeab50f143b6d4248073975a057dc20dd1eb SHA512 a0dbed28403ae2bbdbf4719d9e34d5861250dc1510129d658b336d773a5153e0955d5f2ff018f5f93d88394658918fad2a58aebb99cef998d4cf9128a300f489
DIST cu2qu-1.6.7.zip 215819 BLAKE2B 328df385c459f82805eaa9483ccf49ab1faae2f4a878381d2a7fd1e2be01d15f55eb5f2afabc1a0487d3bed4ae407cc2042989bc820620bd1ac0b33f95d441bc SHA512 929d353cf8ef6f989cd373c49ba77082cfdd35edce6aafa1c13d983782562a16245d75d086d3a7e28dd217bda6c19d50966a4fb1ce50d5a0397eb1304816a28f
DIST cu2qu-1.6.7.post2.zip 136950 BLAKE2B d6835a7a1b978e7ef22ff6daf6284965be8b0f60386dd7483dbafbe89e7320f3803f183cc2e859974c18f812405ebd515097e634a153d05a2d317f7df197473d SHA512 63969b31945c5e66c8bbe92650e73fd4824cf6b65252cbe1c0219a4ac34358a998ec1669f9a297a9540b02e161fb0768a2cce88991a6cc00c1d5dd9b80f99049

View File

@@ -1,31 +0,0 @@
# 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="Cubic-to-quadratic bezier curve conversion"
HOMEPAGE="https://github.com/googlefonts/cu2qu"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
>=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-python/fs[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
MYPV="${PV/_p/.post}"
MYP="${PN}-${MYPV}"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Cubic-to-quadratic bezier curve conversion"
HOMEPAGE="https://github.com/googlefonts/cu2qu"
SRC_URI="mirror://pypi/${MYP:0:1}/${PN}/${MYP}.zip"
S="${WORKDIR}/${MYP}"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
>=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
"
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-python/fs[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
export CU2QU_WITH_CYTHON=1
distutils-r1_src_prepare
}

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature pypi
DESCRIPTION="Cubic-to-quadratic bezier curve conversion"
HOMEPAGE="
https://pypi.org/project/cu2qu/
https://github.com/googlefonts/cu2qu
"
SRC_URI="$(pypi_sdist_url "${PN}" "$(pypi_translate_version "${PV}")" .zip)"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
<dev-python/fs-3[${PYTHON_USEDEP}]
"
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_configure() {
CU2QU_WITH_CYTHON=1
}
pkg_postinst() {
optfeature "cli support" dev-python/defcon
}

View File

@@ -1,2 +1,2 @@
DIST dateparser-1.1.5.tar.gz 295364 BLAKE2B ab34dc41a3602df7b4cf448f4fd0be410b514e5e02d252f911019be1ac6092fc1ac1ddf58ed6ae349958691f67817974bda95e7266d82127a1beebfbf28100fa SHA512 0a2ea4a8a4b580ed8f0939b3bc7175fa40bc37df1469711ce2b802bc24a8b45484f8c5f6b9297a8343c1fbe281892e6521b19c35468305d8ba7e584e444a7bf2
DIST dateparser-1.1.6.tar.gz 295659 BLAKE2B fbdb31ecbe48ef3b27eb283fe590b49a03ebbcca9402846e1f18f70052d5339fbfd5bc3f92dd6b4888e185ccd3ccf538e845dff320c2fa16a3cd560aba7faa87 SHA512 5f9eb6c85bb221a61ab30b274a73572e199e930298c30b438bec12511c677c272d9a778458b99f291eb8636ee1d797b90260fef66ae6c480018eca80b23b162a
DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70 SHA512 d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907

View File

@@ -3,13 +3,15 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature
inherit distutils-r1 optfeature pypi
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"
HOMEPAGE="
https://pypi.org/project/dateparser/
https://github.com/scrapinghub/dateparser
"
LICENSE="BSD-4"
SLOT="0"

View File

@@ -7,8 +7,10 @@ PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="dev-python/mkdocs-material"
DOCS_DEPEND=(
dev-python/mkdocs-material
dev-python/regex
)
inherit distutils-r1 docs
DESCRIPTION="Create decorators easily in python"

View File

@@ -1,2 +1 @@
DIST dotmap-1.3.28.tar.gz 12097 BLAKE2B c172a3c4b8f4b10e2351d342cf38eed1ea8cac510eb4a66fa7df5660628fcf57056083af519f8360e78dce1d494185d2b09edfc7a4e7e604af658af15335fcc3 SHA512 9d16b1886884464cbe9df5d0af6426c869969767b9fee527cf108551d8f0d5d81f479d429350e31c89b9db2d3cc6d395945321f56688850dca7bfa2bbf273451
DIST dotmap-1.3.30.tar.gz 12391 BLAKE2B f6e5713704d2f7c828c0a373174348900ebe39b72fd85456ed374a62f474c67e916b5956afeec246d8a6e9253b08c5e495c781d2915cecb38bee0d0b256810d2 SHA512 8e6d3e4419c3dbd1c0a3209dfc7bcda859bf547ab3fe88471c04a7f4c34219c9ca13b848788e6a24c6d3ece539f9ba0a16600f7941abdbd99c4e6d0badf4af27

View File

@@ -1,22 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
#don't bump to python 3.10 until https://github.com/drgrib/dotmap/issues/76 is resolved
PYTHON_COMPAT=( python3_{8..9} pypy3 )
inherit distutils-r1
DESCRIPTION="Dot access dictionary with dynamic hierarchy creation and ordered iteration"
HOMEPAGE="
https://github.com/drgrib/dotmap
https://pypi.org/project/dotmap/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
distutils_enable_tests unittest

View File

@@ -1,18 +1,17 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Dot access dictionary with dynamic hierarchy creation and ordered iteration"
HOMEPAGE="
https://github.com/drgrib/dotmap
https://pypi.org/project/dotmap/
https://github.com/drgrib/dotmap
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 edo
DESCRIPTION="Font version reporting and modification tool"
HOMEPAGE="https://github.com/source-foundry/font-v"
SRC_URI="https://github.com/source-foundry/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
RDEPEND="
dev-python/fonttools[${PYTHON_USEDEP}]
dev-python/GitPython[${PYTHON_USEDEP}]
"
BDEPEND="test? ( dev-vcs/git )"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme
src_unpack() {
default
# tests expect default git clone
mv "${WORKDIR}"/{${P},${PN}} || die
}
src_test() {
edo git init
edo git config --global user.email "larry@example.com"
edo git config --global user.name "Larry the Cow"
edo git add .
edo git commit -m "init"
distutils-r1_src_test
}

View File

@@ -1,41 +0,0 @@
# 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="Font version string reporting and modification library"
HOMEPAGE="https://github.com/source-foundry/font-v"
SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
RDEPEND="
dev-python/fonttools[${PYTHON_USEDEP}]
dev-python/GitPython[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-vcs/git )"
distutils_enable_tests --install pytest
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
src_test() {
#it want a git repo
git init || die
git config --global user.email "you@example.com" || die
git config --global user.name "Your Name" || die
git add . || die
git commit -m 'init' || die
#pure madness
#https://github.com/source-foundry/font-v/blob/e6746e4a045c99e56af661918c96259b1f444ed4/tests/test_utilities.py#L34
sed -e "s|\"font-v\"|\"${PWD##*/}\"|g" -i "tests/test_utilities.py" || die
python_foreach_impl python_test
}

View File

@@ -1 +1 @@
DIST fontMath-0.9.2.gh.tar.gz 29835 BLAKE2B 0be37992c5009c5f0271da1cdfa464983e720f0b558b177b03abb5fa1f700f8171b40d39144e0976d815c33ba86e5bab90364502f3464cbab5cb18ad27cd88a8 SHA512 5305da4d688716a473b440114f37eb342eaf26d801c8c10361b8d98f84022f6da3afc112828b32a4286992d35b2f0075cad7a33086768f3e004b80fe59b0117e
DIST fontMath-0.9.3.zip 39324 BLAKE2B 055c5336e2c393f2cd26be0a2c4177309c9b6888f70cc2a3e67cb0f26b785917f235305bbeeeba30afdb241015aa822c8f7537c73da0a649b559f3dbdde19737 SHA512 2249667be5f9d0ccfef8b68211c7b62b4a099c47505830481bfcad28ec7f162454c5e5fe9c5a3929180b8098406226e6d26e935c5a9b752a5e7ce86e13496234

View File

@@ -1,28 +0,0 @@
# 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="A collection of objects that implement fast font math"
HOMEPAGE="https://github.com/robotools/fontMath"
SRC_URI="https://github.com/robotools/fontMath/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"
RDEPEND="
${PYTHON_DEPS}
>=dev-python/fonttools-4.9[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_tests pytest
pkg_setup() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
}

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="A collection of objects that implement fast font math"
HOMEPAGE="
https://pypi.org/project/fontMath/
https://github.com/robotools/fontMath
"
SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}" .zip)"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"
RDEPEND=">=dev-python/fonttools-3.32.0[${PYTHON_USEDEP}]"
BDEPEND="
app-arch/unzip
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -1 +1 @@
DIST http_ece-1.1.0.gh.tar.gz 19406 BLAKE2B 3347d318ac30c14d6d0b6149746c6dd8ad1681664c165a1dd89858cc50b04452db1576841280f44fe701ca0cb662dad6cbf4c44188b24dad9863185f76e0839d SHA512 22e5d23258c8a4216d63ee0c0e2765dfc742a1887baddca337cce090213e78c8849de01e3bd83c92628eb85ecdbcd6ad4e0462a47fde741028b83cb972865908
DIST http-ece-1.1.0.gh.tar.gz 19406 BLAKE2B 3347d318ac30c14d6d0b6149746c6dd8ad1681664c165a1dd89858cc50b04452db1576841280f44fe701ca0cb662dad6cbf4c44188b24dad9863185f76e0839d SHA512 22e5d23258c8a4216d63ee0c0e2765dfc742a1887baddca337cce090213e78c8849de01e3bd83c92628eb85ecdbcd6ad4e0462a47fde741028b83cb972865908

View File

@@ -1,10 +1,10 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
MY_PN="encrypted-content-encoding"

View File

@@ -1,2 +1 @@
DIST hyperglot-0.3.8.gh.tar.gz 7535789 BLAKE2B ea95372cfff195d2f991cc9a6bc3e26a9576e234167dde0c3a550979f6657e23b2169beb9d67b05fe8de1922e8a299ae24653da611e4277027798b2d139bc12f SHA512 32b8a08795fad10bfe909ddcab9578a53d1a0faf5a9ac79c2a129d2529d00166336560528f298ff8433fdc1149791da948fa2ef4f4d67780bd79b8f8126bdaf6
DIST hyperglot-0.3.9.gh.tar.gz 7534924 BLAKE2B 504907a27e10977cba079cc03db489d1ee169de84e07d32308f4c682fda9be9e9d4b0af10f3ea0d0b3756582130ab3ab4474a730804b4a5ccd2acd0d97cfe787 SHA512 9bf3fad12e66d475dbca627164674a8f3d06779b44e3fac56b95de7058c863421ce107e76fab51dbf95d3ce7d6be5d9aeb340c73521dd85183f2982d36383758
DIST hyperglot-0.4.4.gh.tar.gz 7552359 BLAKE2B eb365fd04ffd65a74a8eb78bdb822265a2b7dc5e8e2356dec0411f36a02168380297b84652cddb6275723cb54313e4b06b5570ee24e4dfa6803b1e32580c261c SHA512 80dadd65c2655a1a22b0c6c61818d4306d12ec8f71c9786fbf9d1fd55f624f7ed4f73c396c3027d3bd5af70eb6336d58d41939d4dee5e4f6d3b0c1dc49e50b9b

View File

@@ -1,30 +0,0 @@
# 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="Detect language support for font binaries"
HOMEPAGE="
https://hyperglot.rosettatype.com/
https://github.com/rosettatype/hyperglot
https://pypi.org/project/hyperglot/
"
SRC_URI="https://github.com/rosettatype/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3+ OFL"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/fonttools-4.0.2[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
>=dev-python/unicodedata2-13.0.0[${PYTHON_USEDEP}]
>=dev-python/colorlog-4.7.2[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -1,30 +1,32 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Detect language support for font binaries"
HOMEPAGE="
https://hyperglot.rosettatype.com/
https://github.com/rosettatype/hyperglot
https://pypi.org/project/hyperglot/
https://github.com/rosettatype/hyperglot
"
SRC_URI="https://github.com/rosettatype/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3+ OFL"
LICENSE="GPL-3"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/colorlog-4.7.2[${PYTHON_USEDEP}]
>=dev-python/fonttools-4.0.2[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
>=dev-python/unicodedata2-13.0.0[${PYTHON_USEDEP}]
>=dev-python/colorlog-4.7.2[${PYTHON_USEDEP}]
"
DOCS=( {CHANGELOG,README}.md CONTRIBUTORS.txt README{_comparison,_database}.md )
distutils_enable_tests pytest

View File

@@ -1,3 +1,2 @@
DIST itemadapter-0.4.0.tar.gz 14682 BLAKE2B ce7c9bcebd1dd75c35e76af2a788e6b3695c4e2fa19cc7dc467dc8dcd58deb71ae2f9272195d5030c0a72b80f56171ed9760eefd6c5c2b2769176ca8b441d6b8 SHA512 c7226c2e0e8c2f1695ec62e67a60b99ed92f4e71c9003a274292df91cef54abc382f614eb08422be6d532c0e91fa0bf962d2b5f6b2220e107b5ba43d921be15d
DIST itemadapter-0.6.0.tar.gz 16325 BLAKE2B 75fa4c520de2c8fef8bf84ca416c2603d3237d86a994d4c083d6ad3469b03d8398ecd5828a3a3d18f742462002294c1872a493f4b29983907eaadb2b8af8f1fa SHA512 faa6170ea72d29f15c0332f38b288d8a4f1e2bb7229d3eb61227b52231c4d16d52bed09eda52acaf8653093afbc59ba2ec9ef8a2a4d408502f70704cea82c9ec
DIST itemadapter-0.7.0.tar.gz 16849 BLAKE2B 1efd7251c50f17e8e3e52d3544b24ccdc5e5fcae90ad46f010959e3d5e6b2703271e310a37762b087a873a1ae0c0c9249ca19229cd062d974a05119d2e7ec221 SHA512 7402650f82fa16c2976821c5033a156c0994ad059581a714cb9a920235b1d2d4bbba60fbb186374377fb5dfc16ec59c5d432987e5c7906655c4e20d27f5e65cd

View File

@@ -1,27 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_9 )
inherit distutils-r1
DESCRIPTION="Common interface for scrapy data container classes"
HOMEPAGE="https://scrapy.org/"
SRC_URI="https://github.com/scrapy/itemadapter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
RDEPEND="${PYTHON_DEPS}"
DEPEND="${RDEPEND}"
BDEPEND="${DEPEND}
test? (
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/scrapy[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -1,2 +1,3 @@
DIST markdown-include-0.7.0.gh.tar.gz 16696 BLAKE2B 0816c25afe73f0046d9cf56ad6a985bf76ebd7b4f78f64db631697ffcd07f9e0550b2dd74411945e38c27965153be186a89d82c55aa7bf4570be47c1cfca2917 SHA512 2d4350ad87cc7e5dab116f4df7648d3a7ffc0c18e38b61ddfca9a6cf76a64bd1d41dcbf7525fd41c81cbc64abe1f776cd3ad9847e25fe790f16c4a024265390d
DIST markdown-include-0.8.0.tar.gz 20208 BLAKE2B 62aeda968baaece8c95d3e73d9606b8206b6ac5f425a72ff1ecdd9e202a42f41d18ca2f3981efb9cbe5fb4aa37e22c97791cf1170ae1377f096a64404564efe0 SHA512 1288b66b3faf665d7886cb5d28372335286528b9bfbf5b7320128bf5ec21590533dbe4aa0466f339f24701da9f33cf3615ef5a7c227665513910bf26af9e6007
DIST markdown-include-0.8.1.tar.gz 21873 BLAKE2B 83090f66af6f6b7dfc441bce97a0ca91bed3f94274030297e5f46fe8d42d3b3e83afc9f981941870f5bf361bfb5edd54bdda4c5d85595cc5599375f5a2478490 SHA512 4ae155d7e114de9d8ca32c129fe5778e7fc9516321357d8e4d90fad651a1dcb54b1fb144bc51e981cf728f1632dc293ed8cc1e7d4219154a2350780ea6f9b7b2

View File

@@ -0,0 +1,27 @@
# 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_{9..11} )
inherit distutils-r1
DESCRIPTION="Syntax which allows for inclusion of contents of other Markdown docs"
HOMEPAGE="https://github.com/cmacmackin/markdown-include"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/markdown-3.4[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
src_prepare() {
sed -i "s/description-file/description_file/" setup.cfg || die
distutils-r1_src_prepare
}

View File

@@ -33,7 +33,7 @@ RDEPEND="
BDEPEND="
test? (
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/http_ece[${PYTHON_USEDEP}]
dev-python/http-ece[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-vcr[${PYTHON_USEDEP}]
dev-python/requests-mock[${PYTHON_USEDEP}]
@@ -51,5 +51,5 @@ src_prepare() {
}
pkg_postinst() {
optfeature "webpush support" "dev-python/cryptography dev-python/http_ece"
optfeature "webpush support" "dev-python/cryptography dev-python/http-ece"
}

View File

@@ -33,7 +33,7 @@ RDEPEND="
BDEPEND="
test? (
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/http_ece[${PYTHON_USEDEP}]
dev-python/http-ece[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-vcr[${PYTHON_USEDEP}]
dev-python/requests-mock[${PYTHON_USEDEP}]
@@ -51,5 +51,5 @@ src_prepare() {
}
pkg_postinst() {
optfeature "webpush support" "dev-python/cryptography dev-python/http_ece"
optfeature "webpush support" "dev-python/cryptography dev-python/http-ece"
}

View File

@@ -1 +0,0 @@
DIST nosehtmloutput-0.0.7.tar.gz 7582 BLAKE2B 6f2155358d91491fa42238404548379fa8046bdc8d81f4d2f7520330477032fb01838a0055838b2ac230cfc3804eaa22488e836d2afa553e54318e762e3eb543 SHA512 29461eec7f6f5c642730090fe93c1ecda9e0bb4e26bb977866c161854b5d4ec9cf037b1531b881d9504629dbddb8bc65888a416d14d99357dec99acd56ec553d

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">nosehtmloutput</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,27 +0,0 @@
# 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="Nose plugin for generating HTML output"
HOMEPAGE="
https://opendev.org/openstack/nose-html-output
https://pypi.org/project/nosehtmloutput/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/nose[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_tests nose

View File

@@ -1 +0,0 @@
DIST nosexcover-1.0.11.tar.gz 2903 BLAKE2B 297dc37504e2db992600ee4ec7c6c2cabdb36d8e137298755bdc6fe4af8dba666e99975a894ee534de62b4576514a3d912e6b98bcb43f228db9b58849788c092 SHA512 a4c75aac5095aa8323094b2a4eceb3af26243e6c87dd8720df8cf43ae0f76c28c638fe2c3cbcad621b7c2779115dccbb32e6a2f33a8bc5efb22a0fb0901d64fa

View File

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="pypi">nosexcover</remote-id>
<remote-id type="github">cmheisel/nose-xcover</remote-id>
<bugs-to>https://github.com/cmheisel/nose-xcover/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -1,27 +0,0 @@
# 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="Extends nose.plugins.cover to add Cobertura-style XML reports"
HOMEPAGE="
https://github.com/cmheisel/nose-xcover
https://pypi.org/project/nosexcover/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/nose[${PYTHON_USEDEP}]
>=dev-python/coverage-3.4[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
distutils_enable_tests nose

View File

@@ -1 +1 @@
DIST opentypespec-1.8.4.tar.gz 15963 BLAKE2B 3d796ffa37f7a617a3be8d5a323fbe8f88e57e05aa031edfe1e48115a65526585d522a2426ed5d5ad970621d0cc301238bed8ac0c2beaab526f0b8679572e2ef SHA512 30c96322901ae99c3f8f71d7621660d7273b0ced60c86a253c573c32d491ce1ef6da750106f4aa8fdd005583be6fc31ef9513c301bfe0a6a39e1b6634ede1e9d
DIST opentypespec-1.9.1.tar.gz 22450 BLAKE2B 53b426f86c1210460f94c8f830987c0ecf1d560e57ec07e890bb359f20b66293357784f2de652a441b17e92c4a031d13f8540b73d16669715c5827a2464a27fc SHA512 2dc2305fe3b03ef5067effe599694c4e64826b44821c0e2c149c5e3c749932c79afba35f81d58b1435c2ddb3422d81625fae0420b7e9e6c5ed36bb667a5bedb3

View File

@@ -1,21 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Python bezier manipulation library"
HOMEPAGE="https://github.com/simoncozens/opentypespec-py"
SRC_URI="https://github.com/simoncozens/opentypespec-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-py-${PV}"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
RESTRICT="test" #https://github.com/simoncozens/opentypespec-py/issues/1
distutils_enable_tests setup.py

View File

@@ -0,0 +1,20 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Data derived from the OpenType specification"
HOMEPAGE="
https://pypi.org/project/opentypespec/
https://github.com/simoncozens/opentypespec-py
"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
distutils_enable_tests pytest

View File

@@ -1,2 +1 @@
DIST parsel-1.6.0.tar.gz 100678 BLAKE2B 9fe937013d84d168cab4e415affecece272f7b2af729448aaf802240d0d7aca553d85de5747cf06ecbd17099e2bd81c741a3afd6bbad803916afdfd3673c07d6 SHA512 d3161522e1102cceeb1f29ab020b33019d4ac7f096cfab8fbe40f54073e49afc24f02aa54206d86f56c8f92e3db2d0d2f8a3dbdfa6417492cf299201f2ae6604
DIST parsel-1.7.0.tar.gz 46036 BLAKE2B e83b5f7f5a7a4274632a38586641be761482c6978670f6c747249d4063f5596bacc42d698d294da1aa9fb972bbaf21cbe3247e49560f1b9c29a3d79eee4dd00a SHA512 850784cfb32fbf619dbcd53152edb569b199965e59f3ec088892a8d432aaf08c1a61f3562499c5c592d9578fb28f871d519e3d7b344e3b7a12fbaaca57909f89

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Utility to extract data from XML/HTML documents using XPath or CSS selectors"
HOMEPAGE="https://scrapy.org/"
SRC_URI="https://github.com/scrapy/parsel/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/cssselect[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/w3lib[${PYTHON_USEDEP}]
"
BDEPEND="${DEPEND}
test? (
dev-python/sybil[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${PN}-1.6.0-pytest-runner.patch" )
distutils_enable_tests pytest
python_test() {
py.test --ignore=docs || die
}

View File

@@ -1 +1,2 @@
DIST praw-7.6.1.gh.tar.gz 25083372 BLAKE2B eab92be89585bbe485b4d51c1c3c15def597b3a5cdb1326cf166931e4be22bea2975c76c48c8b673b30945ec5b559efba84d0310eebbdaa2881a37e30351af31 SHA512 91fa6efe0ea56d53ea49df8c1046ff620571d9dc80e6fdc5a5da3651cd24d7553455b62d02db8e37531a7bf34be0fbbc8c9555281b4887b73e9b8758966db55a
DIST praw-7.7.0.gh.tar.gz 25092955 BLAKE2B e50a20b6d8fc58214480b9edb91a332a9e50626aeb67155298f1746b2615852bc89d3e338d120d2910c93f1713302f41754f5f87259388c9fedd1c358e65dd63 SHA512 40a8882cdcaa10f538f9cf9552414184050b16008eed4c4e31fc52dfc0d337daad6bd1041d462d26476c692ae8997f675cf5ce2630d8d8be091023b7deb98181

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Python Reddit API Wrapper"
HOMEPAGE="
https://pypi.org/project/praw/
https://github.com/praw-dev/praw
"
SRC_URI="https://github.com/praw-dev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
DOCS=( {AUTHORS,CHANGES,README}.rst SECURITY.md )
RDEPEND="
<dev-python/prawcore-3[${PYTHON_USEDEP}]
dev-python/websocket-client[${PYTHON_USEDEP}]
"
BDEPEND="test? (
dev-python/betamax[${PYTHON_USEDEP}]
dev-python/betamax-matchers[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme \
dev-python/sphinx-rtd-dark-mode
python_prepare_all() {
# disable optional dependencies
sed "/update_checker/d" -i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
local epytestargs=(
# spams deprecation warnings
-p no:asyncio
)
epytest "${epytestargs[@]}"
}

View File

@@ -1,2 +1 @@
DIST protego-0.1.16.tar.gz 3187814 BLAKE2B 91591f21ce813e127794678602df21a38b269de69504f8aba9720aedc705225036737f4c7ca5c61cebac91d93eaa1161ee322acd8ee0c67f2c23096a6b2529c9 SHA512 3f029f34c4da6dc612dcdd747f56d421dca60f163315e0f72497435dbd74da77a5a02ee35f15774aad431e2b6e69a582c038d435ba0c07a53b3f0c83cb1c958a
DIST protego-0.2.1.tar.gz 3188678 BLAKE2B 2874ffbc7f185946aa4e520ace1c49bea8de9e686ea45b2e70780919f411030d7f3411e8176997c2da2c0d15c8aae563a994acde0c6128deaa26649a138c8e57 SHA512 ef8a8196d8ece577eec90cc2e2cca2899625bd777c18f01c8e72a6130d4c2c13f71fa6e32a3e8e43b749f7556f4e3dbb1662e5e94ae18e6c8a7eef950779be1b

View File

@@ -1,19 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="robots.txt parser with support for modern conventions"
HOMEPAGE="https://scrapy.org/"
SRC_URI="https://github.com/scrapy/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests pytest

View File

@@ -1 +1 @@
DIST psycopg2cffi-2.9.0.tar.gz 65512 BLAKE2B 2e106eea22feb08aa7154dfc4959a9e68d946b34e872711f19856521dca050d0380498d3c20e762b31e7181ecfc5371a1b02c4bb711bccccfe56a4af9f497ffc SHA512 afd3ce9fa76dcd2df29b7aa8c5d31a33058023dc020ac829b95b8f7950fa17f2733f86a8c45f3d6eefeafae1c7f3997cbae820da98952d71336f7a1c72e84353
DIST psycopg2cffi-2.9.0.gh.tar.gz 117682 BLAKE2B 9fe983f8f72fe384b1946143331b17dbcd03d12579241c7444d0d1c8bb7d51ed9576eace780ae3dd58c2d621b21f045347e25692514fa2fbbee2aac21ef89adb SHA512 520c4aaad33916ff5e1a7089888e04134bd5ad6f3115415a3dd04fb48afdc8ad0c68bf9e71d9158640392d3a2cd0b280eea8fa7a3d2ed63944e234d52f8cce43

View File

@@ -0,0 +1,10 @@
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,7 @@ setup_kwargs = dict(
description=README[0].strip(),
long_description=''.join(README),
test_suite='psycopg2cffi.tests.suite',
- packages=['psycopg2cffi', 'psycopg2cffi._impl', 'psycopg2cffi.tests'],
+ packages=['psycopg2cffi', 'psycopg2cffi._impl', 'psycopg2cffi.tests', 'psycopg2cffi.tests.psycopg2_tests'],
install_requires=['six'],
)

View File

@@ -0,0 +1,59 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit databases distutils-r1 edo
DESCRIPTION="Implementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5."
HOMEPAGE="
https://pypi.org/project/psycopg2cffi/
https://github.com/chtd/psycopg2cffi
"
SRC_URI="https://github.com/chtd/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-db/postgresql:="
RDEPEND="
${DEPEND}
dev-python/six[${PYTHON_USEDEP}]
"
BDEPEND="
virtual/python-cffi[${PYTHON_USEDEP}]
test? (
$(epostgres --get-depend)
)
"
PATCHES=( "${FILESDIR}"/${P}-include-tests.patch )
EPYTEST_DESELECT=(
# hang
tests/psycopg2_tests/test_cancel.py::CancelTests::test_async_cancel
# fail
tests/psycopg2_tests/test_dates.py::FromTicksTestCase::test_date_value_error_sec_59_99
tests/psycopg2_tests/test_types_basic.py::TypesBasicTests::testEmptyArray
)
distutils_enable_tests pytest
python_test() {
cd "${T}" || die
epytest --pyargs ${PN}
}
src_test() {
local -x PSYCOPG2_TESTDB_HOST="localhost"
local -x PSYCOPG2_TESTDB_PORT="55432"
local -x PSYCOPG2_TESTDB_USER="postgres"
epostgres --start ${PSYCOPG2_TESTDB_PORT}
edo createdb -h ${PSYCOPG2_TESTDB_HOST} -p ${PSYCOPG2_TESTDB_PORT} -U postgres psycopg2_test
distutils-r1_src_test
epostgres --stop
}

View File

@@ -1,28 +0,0 @@
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( pypy3 python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Implementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5."
HOMEPAGE="
https://github.com/chtd/psycopg2cffi
https://pypi.org/project/psycopg2cffi/
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-db/postgresql:*
dev-python/six[${PYTHON_USEDEP}]
virtual/python-cffi[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_tests pytest

View File

@@ -1,2 +1,2 @@
DIST pure_protobuf-2.2.1.tar.gz 16458 BLAKE2B 6a461f0f1b56341ee4288a5990d713cafcdce6788111c7b011e72e742cf5060fb4c535cf9c197183a72e886eab7b72bf5790105c578467e3f6f3d1fa9d063b0f SHA512 fa142061fc33e2a646e5392d22f0f80012b3c08f3133b00e0aa661762cd693702eb64a3e4db09e270e5d8de751d7a15167295d242c6db73f8153bb4a49fbdc10
DIST pure_protobuf-2.2.2.tar.gz 16441 BLAKE2B bb5d2dac77b65d29beaf125a524dcf2bb3250737cb5b140d05c5ff397205cabe853ab87bd091bbaff88d169ca514ded2525cbe14ad81f504f55d47a1106bc805 SHA512 f9107d52e8dd3183af9917fc5c70d38c043c9bb80d9a067e8bfbc0dd5271feb10dd0820bcfd829517b4c6fc66f7faaf7e5ebfbb6748315debbcdcc3714264310
DIST pure_protobuf-2.2.3.tar.gz 16445 BLAKE2B 38f13a975b4364e900e30e80d66e735ba4d871455002778f7caace14574de38fbfcf6735115b41a9c77cf023fea49dcaa1e43817e93f54388538f7619f26225a SHA512 b2189ff0971c0f797a526c056691e2d2e860d9a07be2d78ea30f5e74f940f95646235f2570c8d5d42559f184d37e0e3250f8caf4659092f567dd598c7b926a98

View File

@@ -1,21 +1,17 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1
inherit distutils-r1 pypi
MY_PN="${PN/-/_}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python implementation of Protocol Buffers data types with dataclasses support"
HOMEPAGE="
https://github.com/eigenein/protobuf
https://pypi.org/project/pure-protobuf/
"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"

View File

@@ -1,2 +1,2 @@
DIST pytest-cases-3.6.11.tar.gz 1082043 BLAKE2B 396f7fa414729a49a8fb668126b959d13e5d10133ea0a47073cc42b8ce0a38c07df2e98c216e4904205696cf511a96d98e248e8f97a9324ee950e4399c1de746 SHA512 ee81d520eba8ab995bb4c32ba082a0107183d1d2892a29c3dc19d52a5324b1a73da2dbc97c202fdf6e6e17ac766f1d0383e87ee81ad22e49f7720a5e6417d0da
DIST pytest-cases-3.6.13.tar.gz 1082993 BLAKE2B c5259d78ce11dbeff2acca63762360622758edc19b8982f4cbade44459ae347c0c5b4334d9fcf42cf587ef301a193b9ab4c3a496462c403550580549c9be869b SHA512 70bb05afce137cc456dc98fd62d5fa778ce8728c7ffb30a05b765b88a689ce2ff01005f594c5be90e4892debbe925b2c05961d9e4bc567610da1be5b01f5a659
DIST pytest-cases-3.6.14.tar.gz 1083239 BLAKE2B be32c3762f0baf74149276553e07817b75f7eb722ff54bfa46eb8756183fea1ac30089735cb4db7c45406d2c2477c7f95a80779aee388561bac55ac8c5cd84d2 SHA512 a621f55836cae197e3fd1f3460c56d6c1f813e3d0e42e8b193f6cb8c88496a3be18643b1df51cc499f15e09e25cebb8ed3f0e593779ea6d8a4c03a2bd92f6f30

View File

@@ -1,18 +1,22 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="dev-python/mkdocs-material"
DOCS_DIR="docs"
inherit distutils-r1 docs
inherit distutils-r1 docs pypi
DESCRIPTION="Separate test code from test cases in pytest"
HOMEPAGE="https://pypi.org/project/pytest-cases/ https://github.com/smarie/python-pytest-cases"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
HOMEPAGE="
https://pypi.org/project/pytest-cases/
https://github.com/smarie/python-pytest-cases
"
LICENSE="BSD"
SLOT="0"

View File

@@ -1,2 +1 @@
DIST pytest-cython-0.1.1.tar.gz 817776 BLAKE2B d9b812cefc45153a1ce7abb0b1be2e7fc329b88d89ed48529f62a38c402d74bb164ed6b928f291586f0064820dc52156eacdf161da3a0d65d10f5a15681a17e4 SHA512 353a6c3b67df0608b24f24e04ba5d3fa48065d3960834e32bf44f2dfcd6248cb4c86de528c15dbfd20e36811bfb0ae04670f6441afb74bcb7bd1d7af71060463
DIST pytest-cython-0.2.0.tar.gz 16201 BLAKE2B 7e32bdb0eb7b83d7d6444b8f102c25b64057e37d8f8d69bd579880f800151cee874c8e94c16b2aa12a82931666ff41112569ccd2ab225dafa95b87f89d44ddaa SHA512 0ab793c116f4b5b1dc20214d7151e71dc9b58473a19983105e9e06502568af962344853091f0f6bdeb70d6d044ba6a3add98148d4bd81eceb8e143050d288f79
DIST pytest-cython-0.2.1.tar.gz 16083 BLAKE2B 79140d313a745e47660588e4bec32777debb7b878fd085c1a4e0785b4f0a85e03ad53fafaf43ce93cdd42d02f59000dc6196c62ce803b3c5d736719ca9a43b05 SHA512 6dbceaef0220e4ccd18409a78c1901ccb647aaa1d3763863cd8cba3580c5005969cae67824f25e03b57ee4364a86e5cdff95b87e657f8501de72ba3c7f59c164

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
PYTHON_COMPAT=( pypy3 python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Plugin for testing Cython extension modules"
HOMEPAGE="https://github.com/lgpage/pytest-cython"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
distutils_enable_tests pytest
python_test() {
epytest -vv \
--deselect tests/test_pytest_cython.py::test_wrap_c_ext_module \
--deselect tests/test_pytest_cython.py::test_cython_ext_module \
--deselect tests/test_pytest_cython.py::test_wrap_cpp_ext_module \
--deselect tests/test_pytest_cython.py::test_pure_py_module \
|| die
}

View File

@@ -1,25 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( pypy3 python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Plugin for testing Cython extension modules"
HOMEPAGE="https://github.com/lgpage/pytest-cython"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
>=dev-python/pytest-4.6.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
distutils_enable_tests pytest

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Plugin for testing Cython extension modules"
HOMEPAGE="
https://pypi.org/project/pytest-cython/
https://github.com/lgpage/pytest-cython
"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/py[${PYTHON_USEDEP}]
>=dev-python/pytest-4.6.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/cython[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/myst_parser \
dev-python/sphinx-py3doc-enhanced-theme
python_test() {
epytest tests
}

View File

@@ -1,2 +1 @@
DIST pytest-harvest-1.10.3.tar.gz 77312 BLAKE2B 301a9c890c527213025f33e72fc9a9e7d23354ef174e489b3e40e3597bf5b180ecd15f584cd736d379a4010f739e0aedcb5914012f0db767a45c7dfd4f38d126 SHA512 ba76e86a9109daeef70ac5ee454e92655468e2dbf4ade39d62e80b67f09978e78cc7f41bdf366f946d6a859b0b3f6d1f937155b4a486799b5806b9f68634e7ae
DIST pytest-harvest-1.10.4.tar.gz 77384 BLAKE2B 93acd363b9874ef0a8e776c3472cde27417776850d004e83f00ecd52c7c9acbf1758d0062bd14fb83889c9b688a1f92352e42afe2dd6a9b01c567e8afe9d2f1c SHA512 61e371478b0fe809cb5e39040596a241ef3630641d7465799a5e24a953453924f3f6b5b8b94e67a51f1f5b2cb744bb2a698a7d50b6d638dc866a856bf74abe7a

View File

@@ -1,48 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="dev-python/mkdocs-material"
DOCS_DIR="docs"
inherit distutils-r1 docs
DESCRIPTION="Store and retrieve data created during your pytest tests execution"
HOMEPAGE="https://pypi.org/project/pytest-harvest/ https://github.com/smarie/python-pytest-harvest"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/decopatch[${PYTHON_USEDEP}]
>=dev-python/makefun-1.5[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/pytest-cases[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_prepare_all() {
sed "/pytest-runner/d" -i setup.cfg || die
distutils-r1_python_prepare_all
}
python_compile_all() {
docs_compile
}
python_test() {
epytest pytest_harvest/tests --doctest-modules
}

View File

@@ -1,2 +1 @@
DIST scramp-1.4.1.tar.gz 30939 BLAKE2B e82edcb4d64ec63a36521742b0526b582860dc31a30410e96108243e51c1dbc3eaf1d7a7a6eec4cca775528a6d80601f1d2e55dbf4ab422d51f0c0bad1195c4d SHA512 47015e0429da1353eb6c89ac89c90ab3e646418af828deb754adc05764cbe2da98a553388a3d3c84320d470b63a66d1882ab96e5a43fd2c2c7e39a82155fb74c
DIST scramp-1.4.4.tar.gz 21059 BLAKE2B 3577c4447027193bc7a97fc889d7f27271fcdf4491a747a8f1e2b0c560ea66e8228187f2132b51646d9fc3f3d9f48c0b761b1e16c61997eecedb858437430d0e SHA512 60832835ccc3551ef99ee47fc069d4443b4319fa4acb0b3d08eeef434b9358988d9d660ce4fba2ec651d1ea074b3f416bcbeddfa33ab3c91bf26ab325607b874

View File

@@ -1,32 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A pure-Python implementation of the SCRAM authentication protocol."
HOMEPAGE="
https://pypi.org/project/scramp/
https://github.com/tlocke/scramp
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/asn1crypto-1.4.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/passlib[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -1 +1 @@
DIST sphinxcontrib-restbuilder-0.3.tar.gz 24926 BLAKE2B 885ec51030ef05c9bf528efc5ee8ac1552692d760854c750342947b599411a1d469aff577938286ef22de0e051450605e646b7b904dd69b513c9016ddbc8345c SHA512 0b94d05a2fed1f2203fea94cd3a525a62530ec1777d28d59f9232241dd6816eedf871d6a6f616f6f9ce2946a90143871be09d8cae75747b224a6032e284963ed
DIST sphinxcontrib-restbuilder-0.3.gh.tar.gz 24926 BLAKE2B 885ec51030ef05c9bf528efc5ee8ac1552692d760854c750342947b599411a1d469aff577938286ef22de0e051450605e646b7b904dd69b513c9016ddbc8345c SHA512 0b94d05a2fed1f2203fea94cd3a525a62530ec1777d28d59f9232241dd6816eedf871d6a6f616f6f9ce2946a90143871be09d8cae75747b224a6032e284963ed

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
MY_PN=${PN#sphinxcontrib-}
DESCRIPTION="A Sphinx builder/writer to output reStructuredText (rst) files"
HOMEPAGE="
https://pypi.org/project/sphinxcontrib-restbuilder/
https://github.com/sphinx-contrib/restbuilder
"
SRC_URI="https://github.com/sphinx-contrib/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
python_test() {
rm -rf sphinxcontrib || die
distutils_write_namespace sphinxcontrib
epytest
}

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="A Sphinx builder/writer to output reStructuredText (rst) files"
HOMEPAGE="
https://github.com/sphinx-contrib/restbuilder
https://pypi.org/project/sphinxcontrib-restbuilder/
"
SRC_URI="https://github.com/sphinx-contrib/restbuilder/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P/sphinxcontrib-/}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
python_install_all() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
}

View File

@@ -0,0 +1 @@
DIST sre-yield-1.2.gh.tar.gz 23485 BLAKE2B 51362de6b5eb7ba23175430fdd62973d1839472e57870d2e8bba0ed124a1e5e3ab55bc7a8d45302c42b91321b2304b43f4a5b7d2bdcfa79918b153d4972ea2f3 SHA512 419d63807052b6c1301c67d0638009a0f1fee4d272846cf9d55608eda5d3ca1542a73b534eef6f868066e4cd966613dae55bc63b452e723b3fcbfab03b24d00e

View File

@@ -0,0 +1,21 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Python module to generate regular all expression matches"
HOMEPAGE="
https://pypi.org/project/sre-yield/
https://github.com/sre-yield/sre-yield
"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
distutils_enable_tests unittest

View File

@@ -1 +0,0 @@
DIST sre_yield-1.2.tar.gz 23491 BLAKE2B 350800649a01b2f2fbe8efb2d9afb1a2a2c6305b1873c0939ad9e02efaa867c1539ba9db692e7fef8eff2d983dac25e406f295b38e26134400388dc0ef54de2f SHA512 ef0621d2d52b36575a22ddb66409f37537bb67296235248c1c802f887aab30cdefb426caa6fd2913ebfd5daa3885151088cab2324a4cbfe5707cdad51c352f89

View File

@@ -1,18 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Python module to generate regular all expression matches"
HOMEPAGE="https://github.com/google/sre_yield"
SRC_URI="https://github.com/google/sre_yield/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
distutils_enable_tests pytest

View File

@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
dev-python/sre_yield[${PYTHON_USEDEP}]
dev-python/sre-yield[${PYTHON_USEDEP}]
dev-python/rstr[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Python wrapper for ttfautohint, a free auto-hinter for TrueType fonts"
HOMEPAGE="
https://pypi.org/project/ttfautohint-py/
https://github.com/fonttools/ttfautohint-py
"
SRC_URI="https://github.com/fonttools/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
RDEPEND="media-gfx/ttfautohint"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/fonttools[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
rm -r src/c || die
}
src_configure() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}

View File

@@ -1,36 +0,0 @@
# 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="A Python wrapper for ttfautohint"
HOMEPAGE="https://github.com/fonttools/ttfautohint-py"
SRC_URI="https://github.com/fonttools/ttfautohint-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
RDEPEND="media-gfx/ttfautohint"
DEPEND="
${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/fonttools[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
rm -r src/c || die
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
export TTFAUTOHINTPY_BUNDLE_DLL=0
default
}

View File

@@ -1 +1 @@
DIST uharfbuzz-0.33.0.gh.tar.gz 38023 BLAKE2B 5cf2d8afc8174d5fb679a38fb4147ea15d753a4b2f745c194d6f75868f878a6ae22a0a3bb77b823eeafcdcda325f89ac69539767e2bc1217b88d594c561ea385 SHA512 dc1afdfd39750284544aa8bc244c36a4b60a99423d11d568759ac908fcc34eeb39e97089eba00524bc9dbe1604aab8c35bd40b98f7913016ad022832266e7145
DIST uharfbuzz-0.33.0.zip 1364513 BLAKE2B 668a9b7083d1a75c6845b2177b876447a25e28b15bc14e52518f1bf158ca4e23f01a0d42eb1aea02dce65c64496101ea00c8fd4d68e5ba7c1d149d920ba6624a SHA512 923ade6a4cefca9d1cfdee19fbf7b769480072695da67a1b6b75738172dad1c3236ff7d2263eeaeb6f08c235ff6efd952f095c63957549c589fafde31ca604eb

View File

@@ -1,34 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
-define_macros = [('HB_NO_MT', '1'), ('HB_EXPERIMENTAL_API', '1')]
+define_macros = [('HB_EXPERIMENTAL_API', '1')]
linetrace = False
if int(os.environ.get('CYTHON_LINETRACE', '0')):
linetrace = True
@@ -21,7 +21,7 @@
extra_compile_args = []
extra_link_args = []
-libraries = []
+libraries = ['harfbuzz', 'harfbuzz-subset']
if platform.system() != 'Windows':
extra_compile_args.append('-std=c++11')
define_macros.append(('HAVE_MMAP', '1'))
@@ -39,11 +39,9 @@
extension = Extension(
'uharfbuzz._harfbuzz',
define_macros=define_macros,
- include_dirs=['harfbuzz/src'],
+ include_dirs=['/usr/include/harfbuzz'],
sources=[
- 'src/uharfbuzz/_harfbuzz.pyx',
- 'harfbuzz/src/harfbuzz.cc',
- 'harfbuzz/src/hb-subset-repacker.cc',
+ 'src/uharfbuzz/_harfbuzz.pyx'
],
language='c++',
libraries=libraries,

View File

@@ -3,33 +3,33 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="Streamlined Cython bindings for the HarfBuzz shaping engine"
HOMEPAGE="https://github.com/harfbuzz/uharfbuzz"
SRC_URI="https://github.com/harfbuzz/uharfbuzz/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
HOMEPAGE="
https://pypi.org/project/uharfbuzz/
https://github.com/harfbuzz/uharfbuzz
"
SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND=">=media-libs/harfbuzz-4.3.0[experimental(-)]"
DEPEND="
${RDEPEND}
RDEPEND=">=media-libs/harfbuzz-4.3.0:=[experimental(-)]"
BDEPEND="
app-arch/unzip
>=dev-python/cython-0.28.1[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm-2.1[${PYTHON_USEDEP}]
>=dev-python/wheel-0.31[${PYTHON_USEDEP}]
"
PATCHES=( "${FILESDIR}/${PN}-0.33.0-system-harfbuzz.patch" )
distutils_enable_tests pytest
python_prepare_all() {
distutils-r1_python_prepare_all
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
src_configure() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
export USE_SYSTEM_HARFBUZZ=1
}

View File

@@ -1 +1 @@
DIST unicodedata2-14.0.0.gh.tar.gz 624067 BLAKE2B 0394af31670dbc3e89f616144f88081a69e1e4d9404d432a3f70c8973e967f28b914413219e0b22f089ccaa898193a45f4a2ce41bfe1f889622c69bd9b56735e SHA512 bb0b1e3834a892d23bda0d51443655b244e0f24cbb9ed51065afac3fdd2ed01a6382d4015ea0dcfaddc99c7858e19e3e3e86a9024a5600cb67cef219ebc719ba
DIST unicodedata2-15.0.0.tar.gz 592775 BLAKE2B 7d65d44dd9868858b587c77f385caee360e26178ca586663eb67ec42e63f7108739982639fa2a12b150f8ad3b7ab3cbc3aa683a3b52bc2bb116a4a6d23f01a1d SHA512 77bb7e827c4e5737983509406795c30f231737aa4410fcbeb3b9c3ef21b8a156c0459bc2edb4190f7c004f32f78b839c29d4c2211b60a172f5c677a43272e701

View File

@@ -1,19 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MYPV="$(ver_rs 3 -)"
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Unicodedata backport for python 2/3 updated to the latest unicode version"
HOMEPAGE="https://github.com/mikekap/unicodedata2"
SRC_URI="https://github.com/mikekap/unicodedata2/archive/refs/tags/${MYPV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${MYPV}"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
distutils_enable_tests pytest

Some files were not shown because too many files have changed in this diff Show More