Package Details: mkdocs-material-extensions 1.3.1-1

Git Clone URL: (read-only, click to copy)
Package Base: mkdocs-material-extensions
Description: Markdown extension resources for MkDocs Material
Upstream URL:
Licenses: MIT
Conflicts: mkdocs-material-extensions-git, python-mkdocs-material-extensions-git
Provides: mkdocs-material-extensions
Replaces: mkdocs-material-extensions-git, python-mkdocs-material-extensions-git
Submitter: AlphaJack
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 2
Popularity: 0.001890
First Submitted: 2021-09-04 09:56 (UTC)
Last Updated: 2023-11-27 12:26 (UTC)

Latest Comments

AlphaJack commented on 2020-12-03 14:26 (UTC)

@ccorn I've added "mkdocs-material>=5.0.0" as dependency, but I'm keeping check() disabled as upstream seems to have broken tests

ccorn commented on 2020-09-14 19:30 (UTC) (edited on 2020-09-14 19:50 (UTC) by ccorn)

The proposed dependency on mkdocs-material>=5.0.0 is actually a checkdepends.

Edit: Wrong, the dependency is mentioned in the module's requirements/project.txt so it should be in depends, as proposed earlier.

ccorn commented on 2020-09-14 19:15 (UTC)

I have a private PKGBUILD for the non-git version. Now I have compared the build logs and completed your PKGBUILD so that the package can be built in a chroot, runs tests, and produces contents and build/check logs that mostly match mine.

Interesting difference: Building the -git package requires python-pip otherwise it downloads itself from PyPI. That has not been the case for the stable 1.0 release.

I have added --optimize=1 to get the *-pyc files as well.

diff --git a/PKGBUILD b/PKGBUILD
index 3c8f807..3fc3415 100644
@@ -7,8 +7,11 @@ pkgdesc="Markdown extension resources for MkDocs Material"
+provides=("python-materialx" "python-mkdocs-material-extensions")
+# Without python-pip, package is downloaded from PyPI
+makedepends=("git" "python-setuptools" "python-pip" "python-wheel")

@@ -17,8 +20,19 @@ pkgver(){
  git describe --long --tags | sed "s/\([^-]*-g\)/r\1/;s/-/./g"

+  cd "mkdocs-material-extensions"
+  python build
+  cd "mkdocs-material-extensions"
+  python test
  cd "mkdocs-material-extensions"
- python install --root="$pkgdir"
+ python install --root="$pkgdir" --optimize=1
+ install -D -m 644 "" -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -D -m 644 "" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"