python-markdown-pytest
LOW
maintainer medaminezghal
1 votes
scanned 2026-10-22 05:34:05.500565
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
4
pkgname=python-$_name
5
pkgver=0.6.6
6
pkgrel=1
7
pkgdesc='Pytest plugin for runs tests directly from Markdown files'
8
arch=('any')
9
url='https://github.com/mosquito/markdown-pytest'
10
license=('Apache-2.0')
11
depends=('python')
12
makedepends=('python-hatchling'
13
'python-build'
14
'python-installer')
15
checkdepends=('python-pytest'
16
'python-pytest-asyncio')
17
optdepends=('python-pytest: pytest'
18
19
'python-pytest-asyncio: async')
20
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
21
sha256sums=('ccc074a060cd9e3e95e93507d838edfbf01000140b9373123c97f1732d4c8312')
22
23
prepare() {
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
29
build() {
30
cd "$_name-$pkgver"
31
python -m build --wheel --no-isolation
32
}
33
34
check() {
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
45
package() {
46
cd "$_name-$pkgver"
47
python -m installer --destdir="$pkgdir" dist/*.whl
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-22 05:34:05 | Low | 1 |