Skip to content
Snippets Groups Projects
Verified Commit 4563905f authored by sunpoet's avatar sunpoet
Browse files

devel/py-flit-scm: Add py-flit-scm 1.6.2

flit_scm is a PEP 518 build backend that uses setuptools_scm to generate a
version file from your version control system, then flit_core to build the
package.

WWW: https://gitlab.com/WillDaSilva/flit_scm
parent 989a4b10
No related branches found
No related tags found
No related merge requests found
......@@ -4575,6 +4575,7 @@
SUBDIR += py-flexmock
SUBDIR += py-flit
SUBDIR += py-flit-core
SUBDIR += py-flit-scm
SUBDIR += py-fluent
SUBDIR += py-fluent-logger
SUBDIR += py-flufl.i18n
......
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= flit-scm
PORTVERSION= 1.6.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= flit_scm-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PEP 518 build backend that uses setuptools_scm to generate a version file
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.5<4:devel/py-flit-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.4<7:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
.include <bsd.port.mk>
TIMESTAMP = 1655398644
SHA256 (flit_scm-1.6.2.tar.gz) = 6feb1334be1f31616ffb6d54485fdcd2d86796db304e126a137510139e90745c
SIZE (flit_scm-1.6.2.tar.gz) = 2364
#!/usr/bin/env python
# setup.py generated by flit for tools that don't yet use PEP 517
from distutils.core import setup
packages = \
['flit_scm']
package_data = \
{'': ['*']}
install_requires = \
['flit-core~=3.5', 'setuptools_scm~=6.4', 'tomli']
setup(name='flit_scm',
version='%%PORTVERSION%%',
description='A PEP 518 build backend that uses setuptools_scm to generate a version file from your version control system, then flit to build the package.',
author=None,
author_email='Will Da Silva <will@willdasilva.xyz>',
url=None,
packages=packages,
package_data=package_data,
install_requires=install_requires,
python_requires='>=3.6',
)
flit_scm is a PEP 518 build backend that uses setuptools_scm to generate a
version file from your version control system, then flit_core to build the
package.
WWW: https://gitlab.com/WillDaSilva/flit_scm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment