Skip to content

Commit

Permalink
net-irc/quarg: new package, add 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang Müller <wolf@oriole.systems>
  • Loading branch information
wylfen committed Sep 26, 2024
1 parent d6364a5 commit a7d947d
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net-irc/quarg/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST quarg-1.0.0.sha.sig 239 BLAKE2B f303317f1fa0b7b96174484d2eb01fe5b886693fac0af3fa78ad20ae6cf92ff00bae1f6fddf64109bdfe8d6d75e6bb8e13403376b3a5fcd70d64699029c92b2c SHA512 2cb0ee693c5a95f87d3fd0079dc84f64b48f1d7a87da5d3f7c960021ce353353e2dae35bf33e57389163fe5bbd07857dc6553ac0450eb02a19c67801eeb08e58
DIST quarg-1.0.0.tar.gz 22450 BLAKE2B dd63965c39121e6a4bb617461adb2546a11ebb691352db10e8fbce74a859fc8b6029ec807d8cdf59097c46c940fe4b7ed9040bec3ea90e13cd061fbc6b08337b SHA512 5dd8f9a41ffae31e6078cb2aac5a314f0d1b68aa9b10e4161e1d4a7241c31d4ae2cf890a32397f9cc7fab80c0564f12c1a43cc23aaf459c7603884801161de98
8 changes: 8 additions & 0 deletions net-irc/quarg/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>wolf@oriole.systems</email>
<name>Wolfgang Müller</name>
</maintainer>
</pkgmetadata>
52 changes: 52 additions & 0 deletions net-irc/quarg/quarg-1.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=poetry

VERIFY_SIG_METHOD="signify"
inherit distutils-r1 verify-sig

DESCRIPTION="Search Quassel logs for matching messages and print them"
HOMEPAGE="https://git.oriole.systems/quarg"
SRC_URI="
https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz
verify-sig? (
https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz.asc
-> ${P}.sha.sig
)
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="sqlite postgres"
RESTRICT="test"

DEPEND="${RDEPEND}"
RDEPEND="${PYTHON_DEPS}
dev-python/python-dateutil[${PYTHON_USEDEP}]
postgres? ( dev-python/psycopg:0[${PYTHON_USEDEP}] )
>=dev-python/sqlalchemy-2.0[${PYTHON_USEDEP},sqlite?]
"
BDEPEND="verify-sig? ( sec-keys/signify-keys-oriole-systems )"

VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/oriole-systems-20240330.pub"

src_unpack() {
if use verify-sig; then
cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die
verify-sig_verify_signed_checksums \
${P}.sha.sig sha256 ${P}.tar.gz
fi
default
}

python_install_all() {
default

doman quarg.1
}

0 comments on commit a7d947d

Please sign in to comment.