Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / nvmetcli


Commits:
08bf1f4c by bobpaul at 2025-03-09T16:04:54+00:00
Build manpage

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,11 +5,13 @@ pkgbase = nvmetcli
        url = http://git.infradead.org/users/hch/nvmetcli.git
        arch = any
        license = Apache-2.0
+       makedepends = asciidoc
        makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-wheel
+       makedepends = xmlto
        depends = python
        depends = python-configshell-fb
        depends = python-six


=====================================
PKGBUILD
=====================================
@@ -8,7 +8,7 @@ arch=('any')
 url="http://git.infradead.org/users/hch/nvmetcli.git";
 license=('Apache-2.0')
 depends=('python' 'python-configshell-fb' 'python-six')  # kmod
-makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+makedepends=('asciidoc' 'git' 'python-build' 'python-installer' 
'python-setuptools' 'python-wheel' 'xmlto')
 # NOTE: Tests need /sys/kernel/config/nvmet (present after modprobe nvmet)
 source=(git://git.infradead.org/users/hch/nvmetcli.git#tag=v$pkgver)
 
sha512sums=('39ce10f6604a6eb5fd42c952c556f1d4421de166fab9ef03c4afd8bf3661b026ed6dbfa29713a19212a8918ead7030df6a036940662264ced284db2473b15418')
@@ -21,6 +21,7 @@ prepare() {
 build() {
   cd nvmetcli
   python -m build --wheel --no-isolation
+  make -C Documentation
 }
 
 package() {
@@ -29,4 +30,5 @@ package() {
 
   install -Dm644 nvmet.service -t "$pkgdir"/usr/lib/systemd/system/
   install -Dm644 README *.json Documentation/nvmetcli.txt -t 
"$pkgdir"/usr/share/doc/nvmetcli/
+  install -Dm644 Documentation/nvmetcli.8 -t "$pkgdir"/usr/share/man/man8/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/nvmetcli/-/commit/08bf1f4cb3e7be3aa0b1430ded851a9cfbad1442

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/nvmetcli/-/commit/08bf1f4cb3e7be3aa0b1430ded851a9cfbad1442
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to