python-markdown-pytest

LOW
maintainer medaminezghal 1 votes scanned 2026-10-22 05:34:05.500565
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
2
3_name=markdown-pytest
4pkgname=python-$_name
5pkgver=0.6.6
6pkgrel=1
7pkgdesc='Pytest plugin for runs tests directly from Markdown files'
8arch=('any')
9url='https://github.com/mosquito/markdown-pytest'
10license=('Apache-2.0')
11depends=('python')
12makedepends=('python-hatchling'
13 'python-build'
14 'python-installer')
15checkdepends=('python-pytest'
16 'python-pytest-asyncio')
17optdepends=('python-pytest: pytest'
18
19 'python-pytest-asyncio: async')
20source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
21sha256sums=('ccc074a060cd9e3e95e93507d838edfbf01000140b9373123c97f1732d4c8312')
22
23prepare() {
24 cd "$_name-$pkgver"
25 # Set the version from the release tag, as upstream's publish workflow does
26 sed -i "s/^version = .*/version = \"$pkgver\"/" pyproject.toml
27}
28
29build() {
30 cd "$_name-$pkgver"
31 python -m build --wheel --no-isolation
32}
33
34check() {
35 local pytest_options=(
36 -vv
37 --disable-warnings
38 )
39 cd "$_name-$pkgver"
40 python -m venv --system-site-packages test-env
41 test-env/bin/python -m installer dist/*.whl
42 PYTHONPATH=. test-env/bin/python -P -m pytest "${pytest_options[@]}" README.md tests
43}
44
45package() {
46 cd "$_name-$pkgver"
47 python -m installer --destdir="$pkgdir" dist/*.whl
48}
49

Scan history

Scanned at (UTC)SeverityRules
2026-10-22 05:34:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion