devel/py-hatch-semver: Add py-hatch-semver 1.0.1
hatch-semver is a plugin for hatch to support semantic versioning. Hatch-semver relies on python-semver for all the versioning logic.
This commit is contained in:
parent
a411a5013d
commit
c80b0d38ef
5 changed files with 40 additions and 0 deletions
|
@ -4692,6 +4692,7 @@
|
|||
SUBDIR += py-hatch-jupyter-builder
|
||||
SUBDIR += py-hatch-nodejs-version
|
||||
SUBDIR += py-hatch-requirements-txt
|
||||
SUBDIR += py-hatch-semver
|
||||
SUBDIR += py-hatch-vcs
|
||||
SUBDIR += py-hatchling
|
||||
SUBDIR += py-heapdict
|
||||
|
|
24
devel/py-hatch-semver/Makefile
Normal file
24
devel/py-hatch-semver/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
PORTNAME= hatch-semver
|
||||
PORTVERSION= 1.0.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= hatch_semver-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Hatch plugin for semver versioning scheme
|
||||
WWW= https://github.com/Nagidal/hatch-semver
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}semver>=2.13.0<2.14:devel/py-semver@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-hatch-semver/distinfo
Normal file
3
devel/py-hatch-semver/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1677770927
|
||||
SHA256 (hatch_semver-1.0.1.tar.gz) = 245b6168e1de53dfa43c55a0f8a96d1c204924a515b704df790fb6855bad43b8
|
||||
SIZE (hatch_semver-1.0.1.tar.gz) = 19813
|
10
devel/py-hatch-semver/files/patch-pyproject.toml
Normal file
10
devel/py-hatch-semver/files/patch-pyproject.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -1,7 +1,6 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
"hatchling>=1.8.0",
|
||||
- "hatch-semver",
|
||||
]
|
||||
build-backend = "hatchling.build"
|
||||
|
2
devel/py-hatch-semver/pkg-descr
Normal file
2
devel/py-hatch-semver/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
|||
hatch-semver is a plugin for hatch to support semantic versioning. Hatch-semver
|
||||
relies on python-semver for all the versioning logic.
|
Loading…
Reference in a new issue