Skip to content

Commit

Permalink
user/udiskie: new package
Browse files Browse the repository at this point in the history
  • Loading branch information
z-erica committed Jan 14, 2025
1 parent 01f9535 commit 074ac1f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions user/udiskie/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
pkgname = "udiskie"
pkgver = "2.5.7"
pkgrel = 0
build_style = "python_pep517"
hostmakedepends = [
"gettext-devel",
"python-build",
"python-installer",
"python-setuptools",
]
checkdepends = [
"python-pytest",
]
depends = [
"python-docopt",
"python-gobject",
"python-pyyaml",
]
checkdepends += depends
pkgdesc = "Automounter for removable media"
maintainer = "Erica Z <[email protected]>"
license = "MIT"
url = "https://github.com/coldfix/udiskie"
source = f"{url}/archive/refs/tags/v{pkgver}.tar.gz"
sha256 = "9a70fc97b89c03c3c70b6c87f058acd5ef2f5eb5b8158fe52738fd1cc1b61ea7"


def pre_check(self):
# requires python-keyutils, unmaintained optional dep
self.rm("test/test_cache.py")


def post_install(self):
self.install_license("COPYING")
# has no matching command
self.uninstall("usr/share/zsh/site-functions/_udiskie-canonical_paths")

0 comments on commit 074ac1f

Please sign in to comment.