Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-05-11 09:12:15 +00:00
10 changed files with 287 additions and 10 deletions

View File

@@ -0,0 +1 @@
DIST PyLaTeX.tar.gz 300388 BLAKE2B fd3744afa43240e093de683ea14181da879b80e366357cc0d46bc49d6e3d23e47e2a0dd81e840a6df5a049055fac7049d3977e7c731e74f85749eff795345733 SHA512 b44ccecb81984613efe5c96f8f0e722fa7b1f4473b8f283196001cd38e062e2b78a4adb8e80c5fdd69558406bec482738520bb998f838d92c0af2b328eb74d07

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ddenoncin@gmail.com</email>
<name>David Denoncin</name>
</maintainer>
<use>
<flag name="numpy">Optionally add dev-python/numpy</flag>
<flag name="matplotlib">Optionally add dev-python/matplotlib</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,53 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="PyLaTeX"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
PYTHON_COMPAT=( python3_{6,7,8} ) #python2_7 -> error: package directory 'python2_source/pylatex' does not exist
inherit distutils-r1
DESCRIPTION="A Python library for creating LaTeX files and snippets"
HOMEPAGE="https://github.com/JelteF/PyLaTeX"
SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples matplotlib numpy" # quantities can be used also, but is not a gentoo package.
DEPEND="
dev-python/ordered-set[${PYTHON_USEDEP}]
matplotlib? ( dev-python/matplotlib[$PYTHON_USEDEP] )
numpy? ( dev-python/numpy[$PYTHON_USEDEP] )
"
RDEPEND="${DEPEND}"
distutils_enable_tests nose
distutils_enable_sphinx docs
src_prepare(){
if use doc; then
sphinx-apidoc -F -o docs "${S}"/pylatex # conf.py is not included in source
fi
distutils-r1_src_prepare
}
python_install_all() {
if use examples ; then
docinto examples
dodoc -r examples/.
fi
distutils-r1_python_install_all
}
src_test() {
rm "${S}"/tests/test_quantities.py # quantities is not a gentoo package
distutils-r1_src_test
}

View File

@@ -1,2 +1,4 @@
DIST biboumi-8.4.tar.xz 142576 BLAKE2B 3be5f8caf406c480a2750d76eacfe9191bccd8bd0fc2ba0ffe6352bf6f6527ab60f16eb25c9820c063af6c9ff4f1b125eb8d51d53bae4392a0d276e7ad488087 SHA512 69f7a47aaf2729a6bffb047201305cef4b87da952aa103d82e715585bf7b2e97fca8159ced1d74c4b01508c874c0db274d7b8349d1579ee3e69fc0ced2c260c2
DIST biboumi-8.5.tar.xz 142576 BLAKE2B 0e9284aa757f43a8436a7df5f78962663ca8cbf9b9a24dd5ea9c978e3240274b6f817b00169b478332f28b5f50a96833e10b7a3feec5e16b96638ec94daeb843 SHA512 36aa8c66a720faa8d9f0bd76fcd4ee382b7d21f6822de2a03582d03e8e7e440a4a08b1ff21e876e70e6b5b1012973c9936d85faecf4781a5d78e7d8b206c3ef6
DIST biboumi-9.0_pre20200419.tar.bz2 150555 BLAKE2B 6c73abcd62c7448cfc990c7228b37c0eda57d05ee987ef5c9661ed2bf8b8376e253e9507c03151d7334b5bff7c8e6807188e5e806473deb79d96fb81212cfb1f SHA512 b86485c0aae5cca6b5909eec2159c9b52069aade3e399721826c02f297b6f3d57e0ddcab9df4f6aa32b0219ccfbf1c7c63c1f51e4b8ab051b6d1f4dbbb34789e
DIST biboumi-9.0_pre20200509.tar.bz2 153874 BLAKE2B 1ed805ebf5af1c82e350accf3375926c27c396880cedc7bceb7aa7066ac9b2958968562416dc9a9a56433e67db2dd47639f259c1a06ce939e082cfef68e0ea18 SHA512 52784f313da1bf0cfc61b7ad6e2feb5c86d55ee940026334713beb79f756e45fd78b3c1913e057ce59d8ab6db6b74de8d5bd8c866aef8ce02a56a4acc6ddcd83

View File

@@ -10,7 +10,7 @@ HOMEPAGE="https://biboumi.louiz.org/"
SRC_URI="https://git.louiz.org/biboumi/snapshot/biboumi-${PV}.tar.xz"
LICENSE="ZLIB"
SLOT="0"
SLOT="0/8"
KEYWORDS="~amd64"
IUSE="+idn logrotate postgres +sqlite +ssl systemd udns"

View File

@@ -0,0 +1,88 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake fcaps
DESCRIPTION="XMPP gateway to IRC"
HOMEPAGE="https://biboumi.louiz.org/"
SRC_URI="https://git.louiz.org/biboumi/snapshot/biboumi-${PV}.tar.xz"
LICENSE="ZLIB"
SLOT="0/8"
KEYWORDS="~amd64"
IUSE="+idn logrotate postgres +sqlite +ssl systemd udns"
DEPEND="
dev-libs/expat
virtual/libiconv
sys-apps/util-linux
sqlite? ( dev-db/sqlite )
postgres? ( dev-db/postgresql:* )
idn? ( net-dns/libidn )
udns? ( net-libs/udns )
ssl? ( dev-libs/botan:2 )
!ssl? ( dev-libs/libgcrypt )
systemd? ( sys-apps/systemd )
"
BDEPEND="app-text/pandoc"
RDEPEND="
${DEPEND}
acct-user/biboumi"
DOCS=( README.rst CHANGELOG.rst )
# Allow biboumi to run an identd on port 113.
FILECAPS=( cap_net_bind_service+ep usr/bin/biboumi )
src_prepare() {
cmake_src_prepare
if ! use systemd; then # Don't install biboumi.service.
sed -i '/DESTINATION lib\/systemd\/system/d' CMakeLists.txt || die
fi
}
src_configure() {
local mycmakeargs=(
-DWITH_BOTAN="$(usex ssl)"
-DWITH_LIBIDN="$(usex idn)"
-DWITH_SYSTEMD="$(usex systemd)"
-DWITH_UDNS="$(usex udns)"
-DWITH_SQLITE3="$(usex sqlite)"
-DWITH_POSTGRESQL="$(usex postgres)"
-DWITHOUT_SYSTEMD="$(usex systemd no yes)"
-DWITHOUT_POSTGRESQL="$(usex postgres no yes)"
) # The WITHOUT_* is really needed.
cmake_src_configure
}
src_install() {
cmake_src_install
if ! use systemd; then
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
fi
if use logrotate; then
insinto etc/logrotate.d
if use systemd; then
newins "${FILESDIR}/${PN}.logrotate.systemd" "${PN}"
else
newins "${FILESDIR}/${PN}.logrotate.openrc" "${PN}"
fi
fi
diropts --owner=biboumi --group=biboumi --mode=750
if use sqlite; then
keepdir var/lib/biboumi
fi
keepdir var/log/biboumi
insinto etc/biboumi
insopts --group=biboumi --mode=640
doins conf/biboumi.cfg
}

View File

@@ -0,0 +1,98 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake fcaps
MY_COMMIT="0479bd031922f5eb9fd8f8873eec60dc380abfc3"
DESCRIPTION="XMPP gateway to IRC"
HOMEPAGE="https://biboumi.louiz.org/"
SRC_URI="https://lab.louiz.org/louiz/biboumi/-/archive/${MY_COMMIT}/biboumi-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+idn logrotate postgres +sqlite +ssl systemd udns"
DEPEND="
dev-libs/expat
virtual/libiconv
sys-apps/util-linux
sqlite? ( dev-db/sqlite )
postgres? ( dev-db/postgresql:* )
idn? ( net-dns/libidn )
udns? ( net-libs/udns )
ssl? ( dev-libs/botan:2 )
!ssl? ( dev-libs/libgcrypt )
systemd? ( sys-apps/systemd )
"
BDEPEND="dev-python/sphinx"
RDEPEND="
${DEPEND}
acct-user/biboumi"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
DOCS=( README.rst CHANGELOG.rst doc/user.rst )
# Allow biboumi to run an identd on port 113.
FILECAPS=( cap_net_bind_service+ep usr/bin/biboumi )
src_prepare() {
cmake_src_prepare
if ! use systemd; then # Don't install biboumi.service.
sed -i '/DESTINATION lib\/systemd\/system/d' CMakeLists.txt || die
fi
}
src_configure() {
local mycmakeargs=(
-DWITH_BOTAN="$(usex ssl)"
-DWITH_LIBIDN="$(usex idn)"
-DWITH_SYSTEMD="$(usex systemd)"
-DWITH_UDNS="$(usex udns)"
-DWITH_SQLITE3="$(usex sqlite)"
-DWITH_POSTGRESQL="$(usex postgres)"
-DWITHOUT_SYSTEMD="$(usex systemd no yes)"
-DWITHOUT_POSTGRESQL="$(usex postgres no yes)"
) # The WITHOUT_* is really needed.
cmake_src_configure
}
src_compile() {
cmake_src_compile
cmake_build man
}
src_install() {
cmake_src_install
if ! use systemd; then
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
fi
if use logrotate; then
insinto etc/logrotate.d
if use systemd; then
newins "${FILESDIR}/${PN}.logrotate.systemd" "${PN}"
else
newins "${FILESDIR}/${PN}.logrotate.openrc" "${PN}"
fi
fi
diropts --owner=biboumi --group=biboumi --mode=750
if use sqlite; then
keepdir var/lib/biboumi
fi
keepdir var/log/biboumi
insinto etc/biboumi
insopts --group=biboumi --mode=640
newins conf/biboumi.cfg biboumi.cfg.example
}

View File

@@ -17,32 +17,54 @@ SLOT="0"
LICENSE="all-rights-reserved"
RDEPEND=""
DEPEND="${RDEPEND}
dev-libs/atk
sys-libs/libcxx
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
gnome-base/gconf
gnome-base/gconf:2
media-gfx/graphite2
media-libs/alsa-lib
media-libs/fontconfig:1.0
media-libs/libpng
media-libs/freetype:2
net-print/cups
sys-apps/dbus
net-libs/gnutls
sys-libs/libcxx
x11-libs/cairo
x11-libs/gdk-pixbuf:2
sys-libs/zlib
x11-libs/gtk+
x11-libs/gtk+:3
x11-libs/libnotify
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
x11-libs/libXtst
media-libs/opus"
S=${WORKDIR}/DiscordCanary
QA_PREBUILT="
opt/discord-canary/DiscordCanary
opt/discord-canary/libEGL.so
opt/discord-canary/libGLESv2.so
opt/discord-canary/swiftshader/libEGL.so
opt/discord-canary/swiftshader/libGLESv2.so
opt/discord-canary/libVkICD_mock_icd.so
opt/discord-canary/libffmpeg.so
opt/discord-canary-bin/DiscordCanary
opt/discord-canary-bin/libEGL.so
opt/discord-canary-bin/libGLESv2.so
opt/discord-canary-bin/swiftshader/libEGL.so
opt/discord-canary-bin/swiftshader/libGLESv2.so
opt/discord-canary-bin/libVkICD_mock_icd.so
opt/discord-canary-bin/libffmpeg.so
"
src_install() {