Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
5 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1655398644 | ||
SHA256 (flit_scm-1.6.2.tar.gz) = 6feb1334be1f31616ffb6d54485fdcd2d86796db304e126a137510139e90745c | ||
SIZE (flit_scm-1.6.2.tar.gz) = 2364 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/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', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
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 |