Skip to content

Commit

Permalink
Merge pull request #7 from mcgillij/update_to_make_importing_easier
Browse files Browse the repository at this point in the history
update to make importing as a lib easier
  • Loading branch information
mcgillij authored Apr 10, 2021
2 parents 7b38aee + 00d0832 commit db7f53b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

pkgname=amdfan
pkgdesc="Python daemon for controlling the fans on amdgpu cards"
pkgver=0.1.7
pkgver=0.1.8
pkgrel=1
arch=('any')
license=('GPL2')
depends=('python' 'python-yaml' 'python-numpy' 'python-rich' 'python-click')
makedepends=('python-setuptools')
url="https://github.com/mcgillij/amdfan"
source=("https://github.com/mcgillij/amdfan/releases/download/0.1.7/amdfan-0.1.7.tar.gz")
md5sums=('c6c556f72fbe35a4bdb777754e8e41aa')
source=("https://github.com/mcgillij/amdfan/releases/download/0.1.8/amdfan-0.1.8.tar.gz")
md5sums=('47964c44e9a345d8944dfcb6325e99ec')

build() {
cd "$srcdir/$pkgname-$pkgver"
Expand All @@ -22,5 +22,5 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir"
mkdir -p "$pkgdir/usr/lib/systemd/system"
install -Dm644 amdfan/amdfan.service "$pkgdir/usr/lib/systemd/system/"
}
install -Dm644 src/amdfan/amdfan.service "$pkgdir/usr/lib/systemd/system/"
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "amdfan"
version = "0.1.7"
version = "0.1.8"
description = "Fan monitor and controller for AMD gpus in Linux"
authors = ["mcgillij <[email protected]>"]
license = "GPL-2.0-only"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions amdfan/amdfan.py → src/amdfan/amdfan.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,13 @@ def load_config(path):
"--configuration",
is_flag=True,
default=False,
help="Prints out the default configuration for you to use"
help="Prints out the default configuration for you to use",
)
@click.option(
"--service",
is_flag=True,
default=False,
help="Prints out the amdfan.service file to use with systemd"
help="Prints out the amdfan.service file to use with systemd",
)
def cli(daemon, monitor, manual, configuration, service):
if daemon:
Expand Down
File renamed without changes.

0 comments on commit db7f53b

Please sign in to comment.