George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
reuse
Commits:
fc538bf1 by Frederik “Freso” S. Olesen at 2024-08-18T00:19:28+02:00
Build and install man pages
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = reuse
pkgdesc = Helper tool for providing and confirming copyright and
licensing information
pkgver = 4.0.3
- pkgrel = 1
+ pkgrel = 2
url = https://reuse.software/
arch = any
license = Apache-2.0
@@ -15,6 +15,8 @@ pkgbase = reuse
makedepends = python-installer
makedepends = python-wheel
makedepends = python-poetry-core
+ makedepends = python-sphinx
+ makedepends = python-sphinxcontrib-apidoc
depends = python
depends = python-debian
depends = python-license-expression
=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
pkgname=reuse
pkgver=4.0.3
-pkgrel=1
+pkgrel=2
pkgdesc='Helper tool for providing and confirming copyright and licensing
information'
arch=('any')
url='https://reuse.software/'
@@ -31,6 +31,8 @@ makedepends=(
'python-installer'
'python-wheel'
'python-poetry-core'
+ 'python-sphinx'
+ 'python-sphinxcontrib-apidoc'
)
checkdepends=('python-pytest' 'python-freezegun')
optdepends=(
@@ -45,6 +47,8 @@ build() {
cd "$pkgname"
python -m build --wheel --no-isolation
+
+ make -C docs man
}
check() {
@@ -60,6 +64,7 @@ package() {
# documentation
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.{rst,md}
+ install -vDm644 -t "$pkgdir/usr/share/man/man1" ./docs/_build/man/*.1
# licenses
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSES/*
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/reuse/-/commit/fc538bf128bbeb1f4ef253f143f5bdd26bdc7fea
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/reuse/-/commit/fc538bf128bbeb1f4ef253f143f5bdd26bdc7fea
You're receiving this email because of your account on gitlab.archlinux.org.