void-packages/srcpkgs/python3-dotenv/template

25 lines
1.0 KiB
Bash

# Template file for 'python3-dotenv'
pkgname=python3-dotenv
version=1.0.0
revision=1
build_style=python3-module
# CLI tests and test_set_key_permission_error fail in xbps-src's build environment
make_check_args="-k not(test_run)
--deselect tests/test_cli.py::test_get_default_path
--deselect tests/test_main.py::test_set_key_permission_error
--deselect tests/test_main.py::test_set_key_unauthorized_file"
hostmakedepends="python3-setuptools"
depends="python3-click"
checkdepends="${depends} python3-ipython python3-mock python3-pytest python3-sh"
short_desc="Python module to get and set variables in .env files"
maintainer="Kartik Singh <kartik.ynwa@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/theskumar/python-dotenv"
changelog="https://raw.githubusercontent.com/theskumar/python-dotenv/main/CHANGELOG.md"
distfiles="https://github.com/theskumar/python-dotenv/archive/refs/tags/v${version}.tar.gz"
checksum=93fc54524656990bc9911ab224c991457cd8f39364c48cded2f1c4cb3846c0ac
post_install() {
vlicense LICENSE
}