Compare commits
16 Commits
ab31f37cff
...
9104d2fbae
Author | SHA1 | Date | |
---|---|---|---|
|
9104d2fbae | ||
|
0643bac243 | ||
|
0c15f028df | ||
|
89ecff9760 | ||
|
0c695fe3e0 | ||
|
e4913bc139 | ||
|
6c99e107b6 | ||
|
9bec82c939 | ||
|
29f333d20c | ||
|
3d92e5c242 | ||
|
1968477ea2 | ||
|
97857ed05d | ||
|
80fb685c84 | ||
|
0772bc2d30 | ||
|
61f8912f9c | ||
|
a4a2e50fa1 |
@ -1 +0,0 @@
|
|||||||
DIST scripts-1.0.0.tar.gz 22058 BLAKE2B 333b9bf3e699e78f2638ee6e339672d7544104a0257950593f4283f0dc2266fb4989665c2da4342fe6802c54c101d0369d652b47a9ecd2772e89f6872f5d8126 SHA512 d427a705675578c952390f1a351d648efb34d84030ba5f9cf592632684423041fa13e40b628c89bb8526a7b112acdbb33f9c06fc7be84c7ca934a772213bd235
|
|
@ -1,11 +0,0 @@
|
|||||||
<?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">src_prepare/scripts</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,80 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
PYTHON_REQ_USE="xml"
|
|
||||||
|
|
||||||
inherit python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Small scripts from src_prepare group"
|
|
||||||
HOMEPAGE="https://gitlab.com/src_prepare/scripts"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.com/src_prepare/scripts.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://gitlab.com/src_prepare/scripts/-/archive/${PV}/scripts-${PV}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/scripts-${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RESTRICT="
|
|
||||||
mirror
|
|
||||||
!test? ( test )
|
|
||||||
"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
app-admin/eselect
|
|
||||||
app-portage/eix
|
|
||||||
app-portage/euscan-ng
|
|
||||||
app-portage/repoman
|
|
||||||
app-shells/bash:*
|
|
||||||
dev-lang/perl
|
|
||||||
dev-util/pkgcheck
|
|
||||||
sys-apps/portage
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/pylint
|
|
||||||
|| (
|
|
||||||
dev-util/shellcheck
|
|
||||||
dev-util/shellcheck-bin
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
bash ./test.sh || die "Tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Install the docs
|
|
||||||
local doc
|
|
||||||
for doc in *.md
|
|
||||||
do
|
|
||||||
dodoc "${doc}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Install the scripts
|
|
||||||
local P_HOME="opt/${PN}"
|
|
||||||
if pushd src
|
|
||||||
then
|
|
||||||
local script
|
|
||||||
for script in *
|
|
||||||
do
|
|
||||||
exeinto "${P_HOME}"
|
|
||||||
doexe "${script}"
|
|
||||||
dosym "../../${P_HOME}/${script}" "/usr/bin/src_prepare-${script}"
|
|
||||||
done
|
|
||||||
popd
|
|
||||||
else
|
|
||||||
die "There is no ${S}/src directory"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,80 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
PYTHON_REQ_USE="xml"
|
|
||||||
|
|
||||||
inherit python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Small scripts from src_prepare group"
|
|
||||||
HOMEPAGE="https://gitlab.com/src_prepare/scripts"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.com/src_prepare/scripts.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://gitlab.com/src_prepare/scripts/-/archive/${PV}/scripts-${PV}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/scripts-${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RESTRICT="
|
|
||||||
mirror
|
|
||||||
!test? ( test )
|
|
||||||
"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
app-admin/eselect
|
|
||||||
app-portage/eix
|
|
||||||
app-portage/euscan-ng
|
|
||||||
app-portage/repoman
|
|
||||||
app-shells/bash:*
|
|
||||||
dev-lang/perl
|
|
||||||
dev-util/pkgcheck
|
|
||||||
sys-apps/portage
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/pylint
|
|
||||||
|| (
|
|
||||||
dev-util/shellcheck
|
|
||||||
dev-util/shellcheck-bin
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
bash ./test.sh || die "Tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Install the docs
|
|
||||||
local doc
|
|
||||||
for doc in *.md
|
|
||||||
do
|
|
||||||
dodoc "${doc}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Install the scripts
|
|
||||||
local P_HOME="opt/${PN}"
|
|
||||||
if pushd src
|
|
||||||
then
|
|
||||||
local script
|
|
||||||
for script in *
|
|
||||||
do
|
|
||||||
exeinto "${P_HOME}"
|
|
||||||
doexe "${script}"
|
|
||||||
dosym "../../${P_HOME}/${script}" "/usr/bin/src_prepare-${script}"
|
|
||||||
done
|
|
||||||
popd
|
|
||||||
else
|
|
||||||
die "There is no ${S}/src directory"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
DIST hy-1.0_alpha1.tar.gz 463320 BLAKE2B d6194038f66232ada4ffe4f59565a0895c44a4b3d0a442a9d35f148db29aad61e2a312372c90676abeadf995d6d5493a322a5aff42599f0de380449b9af8f74d SHA512 283d9474118e9dae9a58b7cf89127ff69ce6328659e7d8fffaefa2167598094cbca6b56eb3f3dafede81bb1569df1ae09a5834ad1133c6821576fe3fa3fca0b4
|
|
@ -1,22 +0,0 @@
|
|||||||
Don't install get_version.py
|
|
||||||
|
|
||||||
This reverts commit 7361b37a7580bb5caaf7696b7bff5954042fd52b.
|
|
||||||
|
|
||||||
This file is not used at runtime, and the way it was installed violated FHS.
|
|
||||||
|
|
||||||
---
|
|
||||||
setup.py | 3 ---
|
|
||||||
1 file changed, 3 deletions(-)
|
|
||||||
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -58,9 +58,6 @@ def run(self):
|
|
||||||
'hy.core': ['*.hy', '__pycache__/*'],
|
|
||||||
'hy.extra': ['*.hy', '__pycache__/*'],
|
|
||||||
},
|
|
||||||
- data_files=[
|
|
||||||
- ('get_version', ['get_version.py'])
|
|
||||||
- ],
|
|
||||||
author="Paul Tagliamonte",
|
|
||||||
author_email="tag@pault.ag",
|
|
||||||
long_description=long_description,
|
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A LISP dialect running in python"
|
|
||||||
HOMEPAGE="http://hylang.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/hylang/${PN}.git"
|
|
||||||
else
|
|
||||||
MY_PV="${PV/_alpha/a}"
|
|
||||||
SRC_URI="https://github.com/hylang/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# tests fail
|
|
||||||
RESTRICT="mirror test"
|
|
||||||
# RESTRICT="
|
|
||||||
# !test? ( test )
|
|
||||||
# mirror
|
|
||||||
# "
|
|
||||||
# L
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/astor-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/clint-0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/rply-0.7.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/flake8[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-0.15.0-do-not-install-get_version.py.patch" )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests -vv || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A LISP dialect running in python"
|
|
||||||
HOMEPAGE="http://hylang.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/hylang/${PN}.git"
|
|
||||||
else
|
|
||||||
MY_PV="${PV/_alpha/a}"
|
|
||||||
SRC_URI="https://github.com/hylang/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# tests fail
|
|
||||||
RESTRICT="mirror test"
|
|
||||||
# RESTRICT="
|
|
||||||
# !test? ( test )
|
|
||||||
# mirror
|
|
||||||
# "
|
|
||||||
# L
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/astor-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/clint-0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/rply-0.7.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/flake8[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-0.15.0-do-not-install-get_version.py.patch" )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests -vv || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
<?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>
|
|
||||||
<longdescription lang="en">
|
|
||||||
Lisp and Python should love each other. Let's make it happen.
|
|
||||||
Hy is a Lisp dialect that's embedded in Python. Since Hy transforms
|
|
||||||
its Lisp code into Python abstract syntax tree (AST) objects,
|
|
||||||
you have the whole beautiful world of Python at your fingertips,
|
|
||||||
in Lisp form.
|
|
||||||
</longdescription>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">hylang/hy</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,3 +1 @@
|
|||||||
DIST olm-3.2.12.tar.bz2 2742680 BLAKE2B 47c3bacaf05cc0bb6088da34e6a031f9c770893771ddcf9f13bc0e10a050139f14969dfc91f38684336872089b4cbf9d66e4bd85692989eba5fc3df966da3cd2 SHA512 a25db4c72910512beca9120db59ebeeefc5fff6a381e88ae7cf261bc5ab896edc2cfe25ece57b7b28b2e3d8bc66367c457133c147e1a3514f926714159b5cf6f
|
DIST olm-3.2.15.tar.bz2 2744760 BLAKE2B 44486a63217998010a0bb7e01ff3315c88e139d686b97158e67af29b2f052912412541fb944a17c5d8931df9c641a73e521ef8d0ff352b80fe30bd6fb73b2e7b SHA512 81832766e477fc17908e8d1c49b5403d87b5977fd9102605d95ef2a3907619b7301e32fe0e18ec0f575b1f004ce248633307ff43b0f48bc9bb2313cdfefd6ea7
|
||||||
DIST olm-3.2.6.tar.bz2 485416 BLAKE2B 414e636a1bd32ff7698f3db7748a77aaa2449d260c79f3dcb64db6c509e4f972e4098e439838eb876bc7b738d25a5c704fed94edc9ca41f2c036c3d1438934f0 SHA512 e22af4e7791962978ea4c39b9bebf807a864ca52b329f032e5e398864cd142c1f166aadbce74cb85f776cb0b8352754151f64c60dac2ce1858def73d684fd44a
|
|
||||||
DIST olm-3.2.7.tar.bz2 488852 BLAKE2B 8438d81647425cc2c258eeafaa1a0586d3b38bab32d7849f3e576a8543c910e7eaf19f8c151ad1659e4424a4f09d4641416ecf6dba2cd7523527a5176b29c644 SHA512 c36fefed4f8ba1058729387e4ed3b5b9e3be811940ff8284398255f06915b406f08fb30603f6fe6b28e344cbcaed6cfdbe430b3693701d4050047fb32fd88449
|
|
||||||
|
@ -5,7 +5,7 @@ EAPI=8
|
|||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
DISTUTILS_OPTIONAL=1
|
DISTUTILS_OPTIONAL=1
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
inherit cmake distutils-r1
|
inherit cmake distutils-r1
|
||||||
|
|
||||||
@ -32,18 +32,14 @@ RDEPEND="
|
|||||||
python? (
|
python? (
|
||||||
${PYTHON_DEPS}
|
${PYTHON_DEPS}
|
||||||
>=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]
|
>=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]
|
||||||
dev-python/future[${PYTHON_USEDEP}]
|
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
|
${DISTUTILS_DEPS}
|
||||||
python? (
|
python? (
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
test? (
|
test? (
|
||||||
dev-python/aspectlib[${PYTHON_USEDEP}]
|
dev-python/aspectlib[${PYTHON_USEDEP}]
|
||||||
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-flake8[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-isort[${PYTHON_USEDEP}]
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
@ -53,7 +49,15 @@ distutils_enable_sphinx "${S}"/python/docs
|
|||||||
|
|
||||||
DOCS=( "${S}/docs/" )
|
DOCS=( "${S}/docs/" )
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# deselect tests using benchmark fixtures
|
||||||
|
"tests/group_session_test.py::TestClass::test_encrypt"
|
||||||
|
"tests/group_session_test.py::TestClass::test_decrypt"
|
||||||
|
)
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
sed -i '/flake8/,/^$/ d' python/setup.cfg || die
|
||||||
|
|
||||||
cmake_src_prepare
|
cmake_src_prepare
|
||||||
if use python; then
|
if use python; then
|
||||||
pushd python || die
|
pushd python || die
|
||||||
@ -101,7 +105,7 @@ src_test() {
|
|||||||
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||||
|
|
||||||
if use python; then
|
if use python; then
|
||||||
pushd ${S}/python || die
|
pushd "${S}"/python || die
|
||||||
LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" distutils-r1_src_test
|
LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" distutils-r1_src_test
|
||||||
popd || die
|
popd || die
|
||||||
fi
|
fi
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 2020-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
DISTUTILS_OPTIONAL=1
|
|
||||||
|
|
||||||
inherit cmake distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++"
|
|
||||||
HOMEPAGE="https://git.matrix.org/git/olm/about/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.matrix.org/matrix-org/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0/$(ver_cut 1)"
|
|
||||||
IUSE="python test"
|
|
||||||
REQUIRED_USE="doc? ( python )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
python? (
|
|
||||||
>=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/future[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/aspectlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-flake8[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-isort[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
distutils_enable_sphinx "${S}"/python/docs
|
|
||||||
|
|
||||||
DOCS=( "${S}/docs/" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_SHARED_LIBS=ON
|
|
||||||
-DOLM_TESTS=$(usex test ON OFF)
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
distutils-r1_src_configure
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_src_compile
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
# Let python build find the already built libolm
|
|
||||||
export LIBRARY_PATH="${BUILD_DIR}/"
|
|
||||||
distutils-r1_src_compile
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
distutils-r1_src_install
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" distutils-r1_src_test
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 2020-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
DISTUTILS_OPTIONAL=1
|
|
||||||
|
|
||||||
inherit cmake distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++"
|
|
||||||
HOMEPAGE="https://git.matrix.org/git/olm/about/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.matrix.org/matrix-org/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0/$(ver_cut 1)"
|
|
||||||
IUSE="python test"
|
|
||||||
REQUIRED_USE="doc? ( python )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
python? (
|
|
||||||
>=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/future[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/aspectlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-flake8[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-isort[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
distutils_enable_sphinx "${S}"/python/docs
|
|
||||||
|
|
||||||
DOCS=( "${S}/docs/" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_SHARED_LIBS=ON
|
|
||||||
-DOLM_TESTS=$(usex test ON OFF)
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
distutils-r1_src_configure
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_src_compile
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
# Let python build find the already built libolm
|
|
||||||
export LIBRARY_PATH="${BUILD_DIR}/"
|
|
||||||
distutils-r1_src_compile
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
distutils-r1_src_install
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test
|
|
||||||
if use python; then
|
|
||||||
pushd python || die
|
|
||||||
LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" distutils-r1_src_test
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST m2r2-0.2.7.tar.gz 28653 BLAKE2B 374b4db98158b24aca57cef1e75d37af2623e305b45e4a1f84c6126e48116311fd6e5159854605e027a568d668dc04b9408a64c614e1609f6ed32e2e4722df49 SHA512 6b93ca7b564094e2a1e8ae538e00aa1f361dd40496bef1e440bfe152c905c35c6aad5fb9429ef51b5e6b532c73bcce03c1d17ac1f654e4973de885d1fe33bb9b
|
|
||||||
DIST m2r2-0.2.8.tar.gz 28775 BLAKE2B 57ee1da7853a7b9cd0abca440504f38d1e767ee22be60d509233b4399e83c1be9d5559d4e7bb9c74669880f068ea2207d66e935e59ba22e4c0ebc3ad8c949c2d SHA512 430180e5a01204ba684a588230bca8538557b5300b4ea73c89c94f26d26108fac2e509724d625ecf74bd35f5ebbc8a41ce376acbd8266389c28771295f81b578
|
DIST m2r2-0.2.8.tar.gz 28775 BLAKE2B 57ee1da7853a7b9cd0abca440504f38d1e767ee22be60d509233b4399e83c1be9d5559d4e7bb9c74669880f068ea2207d66e935e59ba22e4c0ebc3ad8c949c2d SHA512 430180e5a01204ba684a588230bca8538557b5300b4ea73c89c94f26d26108fac2e509724d625ecf74bd35f5ebbc8a41ce376acbd8266389c28771295f81b578
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 2020-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9})
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Markdown to reStructuredText converter "
|
|
||||||
HOMEPAGE="https://crossnox.github.io/m2r2/"
|
|
||||||
SRC_URI="https://github.com/CrossNox/m2r2/archive/refs/tags/v"${PV}".tar.gz -> "${P}".tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mistune[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
test? (
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/pygments[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
distutils_enable_sphinx docs
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/quick_workaround_to_distributionnotfound.patch" )
|
|
@ -1 +1 @@
|
|||||||
DIST matrix-nio-0.19.0.tar.gz 246334 BLAKE2B 14f35f64c3edaae4a09f0a6dd4c1693fee27c3a98b78ba912f2a45d5bfe6ee161e91491721415c0dffce84bf3eae97dbec78f39ecf502f83238ccb2452b7c196 SHA512 395b305c69507b852d06319d00a68417494a69a1217f194a04a3866d81185fdc480e957570b22e2eff900e6874cf1c86b598dd474948902a96537fa0ef174877
|
DIST matrix-nio-0.20.2.gh.tar.gz 245057 BLAKE2B 06d77616e6a3aae9fac647e0134238a8675457f645b9fe7d645394ee6e36e3f8d6ea7fe2b4e54076accf52aa6689aad5158eb5dfb843a136397f42fbda6f12cd SHA512 5b0c4077104480ef2e0b090b0f9a3e60f10f98d1f83ecdf42475b175f26f33cc72e43755f8abfc643844e998c275b398125ee921a8313378e398096f45177617
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
# Copyright 2020-2022 Gentoo Authors
|
# Copyright 2020-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=poetry
|
DISTUTILS_USE_PEP517=poetry
|
||||||
PYTHON_COMPAT=( python3_{8..10})
|
PYTHON_COMPAT=( python3_{10..11})
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="A Python Matrix client library, designed according to sans I/O principles"
|
DESCRIPTION="A Python Matrix client library, designed according to sans I/O principles"
|
||||||
HOMEPAGE="https://github.com/poljar/matrix-nio"
|
HOMEPAGE="https://github.com/poljar/matrix-nio"
|
||||||
SRC_URI="https://github.com/poljar/matrix-nio/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/poljar/matrix-nio/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
LICENSE="ISC"
|
LICENSE="ISC"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -21,13 +21,13 @@ RESTRICT="!test? ( test )"
|
|||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=dev-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}]
|
>=dev-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}]
|
||||||
>=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
|
>=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}]
|
||||||
>=dev-python/aiohttp-socks-0.7.0[${PYTHON_USEDEP}]
|
>=dev-python/aiohttp-socks-0.7.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}]
|
>=dev-python/aiofiles-23.1.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}]
|
>=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/cachetools-4.2.1[${PYTHON_USEDEP}]
|
>=dev-python/cachetools-4.2.1[${PYTHON_USEDEP}]
|
||||||
>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
|
>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
|
||||||
>=dev-python/h11-0.12.0[${PYTHON_USEDEP}]
|
>=dev-python/h11-0.14.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
|
>=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/jsonschema-4.4.0[${PYTHON_USEDEP}]
|
>=dev-python/jsonschema-4.4.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/logbook-1.5.3[${PYTHON_USEDEP}]
|
>=dev-python/logbook-1.5.3[${PYTHON_USEDEP}]
|
||||||
@ -41,9 +41,6 @@ DEPEND="
|
|||||||
>=dev-python/aioresponses-0.7.2[${PYTHON_USEDEP}]
|
>=dev-python/aioresponses-0.7.2[${PYTHON_USEDEP}]
|
||||||
>=dev-python/Faker-8.0.0[${PYTHON_USEDEP}]
|
>=dev-python/Faker-8.0.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
>=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/pytest-benchmark-3.2.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytest-isort-1.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytest-cov-2.11.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/hpack-4.0.0[${PYTHON_USEDEP}]
|
>=dev-python/hpack-4.0.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
|
>=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/hypothesis-6.8.9[${PYTHON_USEDEP}]
|
>=dev-python/hypothesis-6.8.9[${PYTHON_USEDEP}]
|
||||||
@ -52,8 +49,12 @@ DEPEND="
|
|||||||
"
|
"
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/m2r2
|
distutils_enable_sphinx doc dev-python/sphinx-rtd-theme dev-python/m2r2
|
||||||
|
|
||||||
EPYTEST_DESELECT=(
|
EPYTEST_DESELECT=(
|
||||||
"tests/async_client_test.py::TestClass::test_connect_wrapper"
|
# requires pytest-benchmark, not much value in pass/no pass tests
|
||||||
|
"tests/key_export_test.py::TestClass::test_decrypt_rounds"
|
||||||
|
"tests/key_export_test.py::TestClass::test_encrypt_rounds"
|
||||||
|
# flaky
|
||||||
|
"tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks"
|
||||||
)
|
)
|
@ -1 +0,0 @@
|
|||||||
DIST posix-ipc-1.0.5.tar.gz 96859 BLAKE2B de4fe580fddefcfaea7562c9e40833f06a945029c0df0a9cec3e4b5851b5e74f507db56515ca71853ada234e2333a4bcd56e210d17d852e8527932ae4d4ffa0e SHA512 ea44314c34291ad0ef5d98ccf7b13ce216964dd084f681613b91c573be472297145cd46e990bab4746f09cb0cf0788a6d5f6423a15255e198f8e5772eec14717
|
|
@ -1,20 +0,0 @@
|
|||||||
<?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">osvenskan/posix_ipc</remote-id>
|
|
||||||
<remote-id type="pypi">posix-ipc</remote-id>
|
|
||||||
</upstream>
|
|
||||||
<longdescription>
|
|
||||||
POSIX IPC primitives (semaphores, shared memory and message queues)
|
|
||||||
for Python
|
|
||||||
posix_ipc is a Python module (written in C) that permits creation
|
|
||||||
and manipulation of POSIX inter-process semaphores,
|
|
||||||
shared memory and message queues on platforms supporting
|
|
||||||
the POSIX Realtime Extensions a.k.a. POSIX 1003.1b-1993
|
|
||||||
</longdescription>
|
|
||||||
</pkgmetadata>
|
|
@ -1,22 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_PN="${PN/-/_}"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="POSIX IPC primitives for Python"
|
|
||||||
HOMEPAGE="http://semanchuk.com/philip/posix_ipc/"
|
|
||||||
SRC_URI="http://semanchuk.com/philip/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
RESTRICT="mirror test"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
@ -1 +0,0 @@
|
|||||||
DIST pyDes-2.0.1.tar.gz 9878 BLAKE2B 45a2d0575519afc389abe080f2c3a6751c5ee1f973e9e4370f24c5dbf9d85882e875682005eae3d749a2e11bffc3cd46868f83baa58f9e7e4feb7a25db641a14 SHA512 9d2a048dd6f629713d93d5cfcf5eaccb45a28fd3942f6837baf492bc6d9f0fcd16a1611e467231e9abfa6756d1684b0848c2190195e9e772bed2e6574327885c
|
|
@ -1,11 +0,0 @@
|
|||||||
<?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">twhiteman/pyDes</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,22 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_PN="pyDes"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=no
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python implementation of DES and TRIPLE DES"
|
|
||||||
HOMEPAGE="https://twhiteman.netfirms.com/des.html"
|
|
||||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
@ -1,67 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
inherit distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
DESCRIPTION="py.test fixture for benchmarking code"
|
|
||||||
HOMEPAGE="https://github.com/ionelmc/pytest-benchmark"
|
|
||||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="doc test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/aspectlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/elasticsearch-py[${PYTHON_USEDEP}]
|
|
||||||
dev-python/py-cpuinfo[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygal[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygaljs[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/sphinx
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
DOCS=( "README.rst" )
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
sed -i\
|
|
||||||
-e "/def test_help(testdir):/i@pytest.mark.xfail(reason='Not quite sure why it fails in the ebuild, please tell if it succeeds')" \
|
|
||||||
-e "/def test_help_compare(testdir, args):/i@pytest.mark.xfail(reason='Not quite sure why it fails in the ebuild, please tell if it succeeds')" \
|
|
||||||
tests/test_cli.py || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
if use doc; then
|
|
||||||
sphinx-build -b html docs docs/_build/html || die
|
|
||||||
fi
|
|
||||||
sphinx-build -b man docs docs/_build/man || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
|
||||||
doman docs/_build/man/*
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
DIST youtube-search-1.1.1.tar.gz 2518 BLAKE2B 5479f7aec0a4deeeefc8b77d1acbd822923dd2e12c846ab0aa05dcac60bcbcf0413f63f33d8896b52bdba8ee7e4ba6d5ee5236c92bd296151e556692aaf9c34e SHA512 54a09b17ed59717c522b184e7022f51b497fe9b7a72a8aeb0666939c96ecb3c3a71de6247f22fea6c654c42d8b134b662236d585f922e23784332d8dd83f0dec
|
|
@ -1,11 +0,0 @@
|
|||||||
<?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">joetats/youtube_search</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Simple, minimal and powerful logging library for Python"
|
|
||||||
HOMEPAGE="https://github.com/joetats/youtube_search"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/certifi[${PYTHON_USEDEP}]
|
|
||||||
dev-python/chardet[${PYTHON_USEDEP}]
|
|
||||||
dev-python/idna[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Light Ebuild Automated Development Environment Notebook"
|
|
||||||
HOMEPAGE="https://gitlab.com/src_prepare/leaden"
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.com/src_prepare/leaden.git"
|
|
||||||
else
|
|
||||||
# Modify SRC_URI to be suitable when first release is made
|
|
||||||
SRC_URI="https://gitlab.com/src_prepare/leaden/-/archive/${PV}/leaden-${PV}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
BDEPEND="dev-python/PyQt5[${PYTHON_USEDEP}]"
|
|
||||||
RDEPEND="
|
|
||||||
${BDEPEND}
|
|
||||||
app-portage/repoman[${PYTHON_USEDEP}]
|
|
||||||
sys-apps/portage[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
emake build
|
|
||||||
rm leaden/ui.ui
|
|
||||||
default_src_prepare
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
</pkgmetadata>
|
|
@ -1 +0,0 @@
|
|||||||
DIST tartube-2.3.110.tar.gz 5746711 BLAKE2B 9313335bf91b2858f5dc37d30fe0d567f6f143a5edeaaf8261fab7697d4da05b461546deead3f0551a92257b81056464ec96f586dba1d23ef570d01972c4ce8b SHA512 6c0306a1150b657357a1474085b4d24948a9d966554baf47228d76f950290655ff627a33ec2947218a5da388689315f5fbf5f91d157ec5d7d61d1c94c02df921
|
|
@ -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">
|
|
||||||
<email>xgqt@protonmail.com</email>
|
|
||||||
<name>Maciej Barć</name>
|
|
||||||
</maintainer>
|
|
||||||
<use>
|
|
||||||
<flag name="atomicparsley">Use AtomicParsley for embedding thumbnails in audio files</flag>
|
|
||||||
</use>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">axcore/tartube</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
|
|
||||||
inherit xdg distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A GUI front-end for youtube-dl"
|
|
||||||
HOMEPAGE="https://tartube.sourceforge.io"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/axcore/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/axcore/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RESTRICT="mirror"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+atomicparsley"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
x11-themes/adwaita-icon-theme
|
|
||||||
atomicparsley? (
|
|
||||||
media-video/atomicparsley
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
AUTHORS
|
|
||||||
CHANGES
|
|
||||||
README.rst
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export TARTUBE_PKG_STRICT=1
|
|
||||||
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
elog "You may need to set path to (system) youtube-dl"
|
|
||||||
elog "in Tartube's System preferences"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
|
|
||||||
inherit xdg distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A GUI front-end for youtube-dl"
|
|
||||||
HOMEPAGE="https://tartube.sourceforge.io"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/axcore/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/axcore/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RESTRICT="mirror"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+atomicparsley"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
x11-themes/adwaita-icon-theme
|
|
||||||
atomicparsley? (
|
|
||||||
media-video/atomicparsley
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
AUTHORS
|
|
||||||
CHANGES
|
|
||||||
README.rst
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export TARTUBE_PKG_STRICT=1
|
|
||||||
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
elog "You may need to set path to (system) youtube-dl"
|
|
||||||
elog "in Tartube's System preferences"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
DIST tulip-5.4.0.tar.gz 104301492 BLAKE2B ecbb4231a2c84197d43a12273e02720f66f019846b93476df1080721ed9d9dc79334875b76298379edb826078de88170f563250fae66de8b20031ca8945e34aa SHA512 ed6d8042ab27cf0ba2eac811354a8ba15c103cfdb348e72af540de61fa0a5173b9c078ba694d04948b0f3eb6b1b06eb04da3fbc99197991ba26806c555f4e5f7
|
|
@ -1,18 +0,0 @@
|
|||||||
diff --git a/software/tulip/CMakeLists.txt b/software/tulip/CMakeLists.txt
|
|
||||||
index 1f5b1a7c7..a6ad3acb6 100644
|
|
||||||
--- a/software/tulip/CMakeLists.txt
|
|
||||||
+++ b/software/tulip/CMakeLists.txt
|
|
||||||
@@ -124,13 +124,6 @@ IF(LINUX)
|
|
||||||
RENAME application-x-tulip.png
|
|
||||||
DESTINATION ${DESKTOP_CONFIG_INSTALL_PREFIX}/share/icons)
|
|
||||||
|
|
||||||
-
|
|
||||||
- INSTALL(CODE
|
|
||||||
- "EXECUTE_PROCESS(COMMAND update-desktop-database ${DESKTOP_CONFIG_INSTALL_PREFIX}/share/applications
|
|
||||||
- COMMAND update-mime-database ${DESKTOP_CONFIG_INSTALL_PREFIX}/share/mime
|
|
||||||
- OUTPUT_QUIET ERROR_QUIET)"
|
|
||||||
- )
|
|
||||||
-
|
|
||||||
ENDIF(TULIP_LINUX_DESKTOP_REGISTRATION)
|
|
||||||
|
|
||||||
ENDIF(LINUX)
|
|
@ -1,16 +0,0 @@
|
|||||||
<?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>
|
|
||||||
<use>
|
|
||||||
<flag name="ccache">
|
|
||||||
Use dev-util/ccache to speed up rebuilds
|
|
||||||
</flag>
|
|
||||||
</use>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">Tulip-Dev/tulip</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# 5.4.0 -> tulip_5_4_0
|
|
||||||
TULIP_P="${PN}_${PV//./_}"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
|
|
||||||
inherit cmake python-r1 xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Large graphs analysis, drawing and visualization framework"
|
|
||||||
HOMEPAGE="https://tulip.labri.fr/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/Tulip-Dev/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/Tulip-Dev/${PN}/archive/${TULIP_P}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}"/"${PN}-${TULIP_P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RESTRICT="
|
|
||||||
mirror
|
|
||||||
!test? ( test )
|
|
||||||
"
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ccache debug minimal +python test"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? (
|
|
||||||
${PYTHON_REQUIRED_USE}
|
|
||||||
)
|
|
||||||
minimal? ( !python )
|
|
||||||
"
|
|
||||||
|
|
||||||
# TODO: turn off doc build on USE demand
|
|
||||||
BDEPEND="
|
|
||||||
ccache? (
|
|
||||||
dev-util/ccache
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/quazip
|
|
||||||
dev-libs/yajl
|
|
||||||
media-libs/qhull
|
|
||||||
sys-libs/zlib
|
|
||||||
!minimal? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5[X]
|
|
||||||
dev-qt/qtnetwork:5
|
|
||||||
dev-qt/qtquickcontrols2:5
|
|
||||||
dev-qt/qtwebchannel:5
|
|
||||||
dev-qt/qtwebengine:5
|
|
||||||
dev-qt/qtwidgets:5[X]
|
|
||||||
media-libs/freetype
|
|
||||||
media-libs/glew:0
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-python/sip:*[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-util/cppunit
|
|
||||||
)
|
|
||||||
!minimal? (
|
|
||||||
app-doc/doxygen[dot]
|
|
||||||
dev-python/sphinx
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# In live version this is likely to break
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/"${PN}-sandbox.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)
|
|
||||||
-DTULIP_BUILD_CORE_ONLY=$(usex minimal ON OFF)
|
|
||||||
-DTULIP_BUILD_PYTHON_COMPONENTS=$(usex python ON OFF)
|
|
||||||
-DTULIP_BUILD_TESTS=$(usex test ON OFF)
|
|
||||||
-DTULIP_USE_CCACHE=$(usex ccache ON OFF)
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# 5.4.0 -> tulip_5_4_0
|
|
||||||
TULIP_P="${PN}_${PV//./_}"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
|
|
||||||
inherit cmake python-r1 xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Large graphs analysis, drawing and visualization framework"
|
|
||||||
HOMEPAGE="https://tulip.labri.fr/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/Tulip-Dev/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/Tulip-Dev/${PN}/archive/${TULIP_P}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}"/"${PN}-${TULIP_P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RESTRICT="
|
|
||||||
mirror
|
|
||||||
!test? ( test )
|
|
||||||
"
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ccache debug minimal +python test"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? (
|
|
||||||
${PYTHON_REQUIRED_USE}
|
|
||||||
)
|
|
||||||
minimal? ( !python )
|
|
||||||
"
|
|
||||||
|
|
||||||
# TODO: turn off doc build on USE demand
|
|
||||||
BDEPEND="
|
|
||||||
ccache? (
|
|
||||||
dev-util/ccache
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/quazip
|
|
||||||
dev-libs/yajl
|
|
||||||
media-libs/qhull
|
|
||||||
sys-libs/zlib
|
|
||||||
!minimal? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5[X]
|
|
||||||
dev-qt/qtnetwork:5
|
|
||||||
dev-qt/qtquickcontrols2:5
|
|
||||||
dev-qt/qtwebchannel:5
|
|
||||||
dev-qt/qtwebengine:5
|
|
||||||
dev-qt/qtwidgets:5[X]
|
|
||||||
media-libs/freetype
|
|
||||||
media-libs/glew:0
|
|
||||||
python? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-python/sip:*[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-util/cppunit
|
|
||||||
)
|
|
||||||
!minimal? (
|
|
||||||
app-doc/doxygen[dot]
|
|
||||||
dev-python/sphinx
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# In live version this is likely to break
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/"${PN}-sandbox.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)
|
|
||||||
-DTULIP_BUILD_CORE_ONLY=$(usex minimal ON OFF)
|
|
||||||
-DTULIP_BUILD_PYTHON_COMPONENTS=$(usex python ON OFF)
|
|
||||||
-DTULIP_BUILD_TESTS=$(usex test ON OFF)
|
|
||||||
-DTULIP_USE_CCACHE=$(usex ccache ON OFF)
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user