From owner-svn-ports-all@freebsd.org Sun Dec 16 18:21:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E65B1336174; Sun, 16 Dec 2018 18:21:10 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 326D8912F4; Sun, 16 Dec 2018 18:21:10 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25886310E; Sun, 16 Dec 2018 18:21:10 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBGILAx8037294; Sun, 16 Dec 2018 18:21:10 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBGIL9bg037289; Sun, 16 Dec 2018 18:21:09 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201812161821.wBGIL9bg037289@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Sun, 16 Dec 2018 18:21:09 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/devel: . py-setuptools_scm_git_archive py-setuptools_scm_git_archive/files X-SVN-Commit-Revision: 487608 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 326D8912F4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.84 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-0.88)[-0.881,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2018 18:21:10 -0000 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 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 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