-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
- moved the configure.ac to the root - re-removed the PKGBUILD that was added to get the build passing - updated the readme/installs to have the right commands and fix a couple typo's - updated the templates used for autoconf to use the correct paths/vars - added cleanup/build script to use for cutting new release - updated pyproject.toml to include the service file once it's generated - fixed some default values and updated the .gitignore
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#####!/bin/bash | ||
echo "cleaning up previous run" | ||
rm -rf dist/*.whl dist/*.gz configure config.status autom4te.cache config.log *.gz *.zst *.log | ||
echo "autoconf" | ||
autoconf | ||
echo "./configure" | ||
./configure --prefix=/usr --libdir=/usr/lib --bindir=/usr/bin | ||
echo "Copy the PKGBUILD to the root dir for running makepkg" | ||
cp dist/pacman/PKGBUILD . | ||
echo "running poetry build" | ||
poetry build | ||
echo "getting the md5sum of the tarball" | ||
md5sum dist/*.gz | ||
echo "Copying the tarball to the root dir" | ||
cp dist/*.gz . |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "amdfan" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
description = "Fan monitor and controller for AMD gpus in Linux" | ||
authors = ["mcgillij <mcgillivray.jason@gmail.com>"] | ||
license = "GPL-2.0-only" | ||
|
@@ -9,6 +9,7 @@ homepage = "https://mcgillij.dev/pages/amdfan.html" | |
repository = "https://github.com/mcgillij/amdfan" | ||
documentation = "https://mcgillij.dev/pages/amdfan.html" | ||
keywords = ["fan", "gpu", "temp", "monitor", "amd"] | ||
include = ["dist/systemd/amdfan.service"] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mcgillij
Author
Owner
|
||
classifiers = [ | ||
"Environment :: Console", | ||
"Environment :: GPU", | ||
|
@@ -29,7 +30,6 @@ pyyaml = "^6.0" | |
click = "^8.1.3" | ||
rich = "^13.0.0" | ||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
pylint = "*" | ||
flake8 = "*" | ||
|
hm, including these non-python files into the wheel is causing QA warning on my end. deleting this line from the ebuild is "trivial", but i'm wondering if there's a cleaner way to generate these for the prepared tarballs. keeping them as-is generates
/usr/lib/python-$version/site-packages/dist/systemd/amdfan.service
, which isn't meaningful