Date: Sun, 16 Dec 2018 18:21:09 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487608 - in head/devel: . py-setuptools_scm_git_archive py-setuptools_scm_git_archive/files Message-ID: <201812161821.wBGIL9bg037289@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu Date: Sun Dec 16 18:21:08 2018 New Revision: 487608 URL: https://svnweb.freebsd.org/changeset/ports/487608 Log: Add devel/py-setuptools_scm_git_archive, Python setuptools_scm plugin for git archives PR: 228027 Submitted by: Ting-Wei Lan <lantw44@gmail.com> Added: head/devel/py-setuptools_scm_git_archive/ head/devel/py-setuptools_scm_git_archive/Makefile (contents, props changed) head/devel/py-setuptools_scm_git_archive/distinfo (contents, props changed) head/devel/py-setuptools_scm_git_archive/files/ head/devel/py-setuptools_scm_git_archive/files/patch-setup.py (contents, props changed) head/devel/py-setuptools_scm_git_archive/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Dec 16 18:15:56 2018 (r487607) +++ head/devel/Makefile Sun Dec 16 18:21:08 2018 (r487608) @@ -5110,6 +5110,7 @@ SUBDIR += py-setuptools_darcs SUBDIR += py-setuptools_hg SUBDIR += py-setuptools_scm + SUBDIR += py-setuptools_scm_git_archive SUBDIR += py-sh SUBDIR += py-shapely SUBDIR += py-shellingham Added: head/devel/py-setuptools_scm_git_archive/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-setuptools_scm_git_archive/Makefile Sun Dec 16 18:21:08 2018 (r487608) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= setuptools_scm_git_archive +PORTVERSION= 1.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lantw44@gmail.com +COMMENT= Python setuptools_scm plugin for git archives + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/py-setuptools_scm_git_archive/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-setuptools_scm_git_archive/distinfo Sun Dec 16 18:21:08 2018 (r487608) @@ -0,0 +1,3 @@ +TIMESTAMP = 1525599636 +SHA256 (setuptools_scm_git_archive-1.0.tar.gz) = 52425f905518247c685fc64c5fdba6e1e74443c8562e141c8de56059be0e31da +SIZE (setuptools_scm_git_archive-1.0.tar.gz) = 3050 Added: head/devel/py-setuptools_scm_git_archive/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-setuptools_scm_git_archive/files/patch-setup.py Sun Dec 16 18:21:08 2018 (r487608) @@ -0,0 +1,12 @@ +--- setup.py.orig 2015-11-29 14:26:35 UTC ++++ setup.py +@@ -26,9 +26,4 @@ meta = dict( + # Clean up first, old eggs seem to confuse setuptools_scm + rmtree(meta['name']+'.egg-info', ignore_errors=True) + +-# Bootstrap +-if not isdir('.git'): +- setup(version='0', **meta) +- working_set.add_entry('.') +- + setup(use_scm_version=True, **meta) Added: head/devel/py-setuptools_scm_git_archive/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-setuptools_scm_git_archive/pkg-descr Sun Dec 16 18:21:08 2018 (r487608) @@ -0,0 +1,4 @@ +setuptools_scm_git_archive is a setuptools_scm plugin that adds support for git +archives (for example the ones GitHub automatically generates). + +WWW: https://github.com/Changaco/setuptools_scm_git_archive
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812161821.wBGIL9bg037289>