-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-irc/quarg: new package, add 1.0.0
Signed-off-by: Wolfgang Müller <wolf@oriole.systems>
- Loading branch information
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |