Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Request Review of `Liquidctl` Package Template and Guidance on Maintaining it
@ 2020-08-07  2:26 Frick-David
  2020-08-07  2:40 ` ericonr
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Frick-David @ 2020-08-07  2:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2146 bytes --]

New issue by Frick-David on void-packages repository

https://github.com/void-linux/void-packages/issues/24123

Description:
Hey there voiders,

I am working with the creator of `liquidctl` to get it into a void linux package. The creator provided a template file for me to submit to help get it started. I hope to help maintain and get it going.

The template we have is as follows:
```
# Template file for 'liquidctl'
pkgname=liquidctl
version=1.3.3
revision=1
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-usb libusb python3-hidapi python3-docopt"
short_desc="Monitor and control liquid coolers and other devices"
maintainer="David Frick <name@domain>"
license="GPL-3.0-or-later"
homepage="https://github.com/jonasmalacofilho/liquidctl"
distfile="${PYPI_SITE}/l/liquidctl/liquidctl-${version}.tar.gz"
checksum=d13180867e07420c5890fe1110e8f45fe343794549a9ed7d5e8e76663bc10c24

pre_build() {
    # upstream encourages the use of these env vars, at setup.py build time, to
    # customize the output of liquidctl --version
    export DIST_NAME="$(source /etc/os-release && echo "$PRETTY_NAME")"
    export DIST_PACKAGE="$pkgname $version-$revision"
}

post_install() {
	vman liquidctl.8
	for f in docs/*.md; do
		vdoc "$f"
	done
}

# liquidctl can be used as a CLI or as a Python module, but unsure on how to
# split the packages, especially because the CLI is a setuptools script:
# setup.py will generate the actual executable, a Python script that simply
# calls liquidctl.cli.main
python3-liquidctl_package() {
	depends="liquidctl>=${version}_${revision}"
	build_style=meta
	short_desc+=" (transitional dummy package)"
}

# TODO package trezor/cython-hidapi as python3-hidapi
# QUESTION shouldn't python3-usb depend on libusb or another backend?
# QUESTION does Void populate os-release $PRETTY_NAME with something useful?
# QUESTION how should the split be handled?
```

Can I have someone help me review this, finialize it then help me set it up to wear I can maintain it?
That would be much appreciated.

Best,
David

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-11-16 21:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07  2:26 [ISSUE] Request Review of `Liquidctl` Package Template and Guidance on Maintaining it Frick-David
2020-08-07  2:40 ` ericonr
2020-08-07  2:40 ` ericonr
2020-08-07 11:24 ` sgn
2020-08-07 11:25 ` sgn
2020-08-07 11:32 ` sgn
2020-12-03  2:08 ` Frick-David
2020-12-03  2:09 ` Frick-David
2020-12-03  2:58 ` ericonr
2020-12-03 15:51 ` Frick-David
2020-12-03 16:53 ` jonasmalacofilho
2020-12-04  0:14 ` jonasmalacofilho
2020-12-04 21:09 ` Frick-David
2022-04-18  2:11 ` github-actions
2022-05-02  2:15 ` [ISSUE] [CLOSED] " github-actions
2023-10-10 16:04 ` cat-marin
2023-11-16 21:01 ` juipeltje
2023-11-16 21:04 ` juipeltje

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).