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:
Po-Chuan Hsieh 2023-03-22 02:35:08 +08:00
parent a411a5013d
commit c80b0d38ef
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
5 changed files with 40 additions and 0 deletions

View file

@ -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

View 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>

View 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

View 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"

View 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.