From owner-svn-ports-all@freebsd.org Mon May 14 00:08: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 99D23FDBB69; Mon, 14 May 2018 00:08:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DD2F72A10; Mon, 14 May 2018 00:08:10 +0000 (UTC) (envelope-from yuri@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 2005014910; Mon, 14 May 2018 00:08:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4E0899j018343; Mon, 14 May 2018 00:08:09 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4E089YP018338; Mon, 14 May 2018 00:08:09 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201805140008.w4E089YP018338@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 14 May 2018 00:08:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469840 - in head/textproc: . py-duecredit py-duecredit/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/textproc: . py-duecredit py-duecredit/files X-SVN-Commit-Revision: 469840 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 14 May 2018 00:08:11 -0000 Author: yuri Date: Mon May 14 00:08:08 2018 New Revision: 469840 URL: https://svnweb.freebsd.org/changeset/ports/469840 Log: New port: textproc/py-duecredit: Embed scientific publication or other references in the original code Added: head/textproc/py-duecredit/ head/textproc/py-duecredit/Makefile (contents, props changed) head/textproc/py-duecredit/distinfo (contents, props changed) head/textproc/py-duecredit/files/ head/textproc/py-duecredit/files/patch-setup.py (contents, props changed) head/textproc/py-duecredit/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sun May 13 23:56:30 2018 (r469839) +++ head/textproc/Makefile Mon May 14 00:08:08 2018 (r469840) @@ -1289,6 +1289,7 @@ SUBDIR += py-diff-match-patch SUBDIR += py-docutils SUBDIR += py-dsv + SUBDIR += py-duecredit SUBDIR += py-elasticsearch SUBDIR += py-elasticsearch-async SUBDIR += py-elasticsearch5 Added: head/textproc/py-duecredit/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-duecredit/Makefile Mon May 14 00:08:08 2018 (r469840) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= duecredit +DISTVERSION= 0.6.3 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Embed scientific publication or other references in the original code + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}citeproc-py>=0.4:textproc/py-citeproc-py@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} + +USES= python +USE_PYTHON= distutils concurrent autoplist +NO_ARCH= yes + +.include Added: head/textproc/py-duecredit/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-duecredit/distinfo Mon May 14 00:08:08 2018 (r469840) @@ -0,0 +1,3 @@ +TIMESTAMP = 1526251833 +SHA256 (duecredit-0.6.3.tar.gz) = 93b84a0333b9f6985f025f5f7daa049e0d4081ebde54905ef4d97a5f36b4df17 +SIZE (duecredit-0.6.3.tar.gz) = 416360 Added: head/textproc/py-duecredit/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-duecredit/files/patch-setup.py Mon May 14 00:08:08 2018 (r469840) @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-05-14 00:01:07 UTC ++++ setup.py +@@ -39,7 +39,7 @@ try: + list(filter(lambda x: x.startswith(' -- '), lines))[0].rstrip()) + else: + print('Attempting to get version number from git...') +- git = Popen(['git', 'describe', '--abbrev=4', '--dirty'], ++ git = Popen(['false', 'describe', '--abbrev=4', '--dirty'], + stdout=PIPE, stderr=sys.stderr) + if git.wait() != 0: + raise OSError Added: head/textproc/py-duecredit/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-duecredit/pkg-descr Mon May 14 00:08:08 2018 (r469840) @@ -0,0 +1,11 @@ +duecredit is being conceived to address the problem of inadequate citation of +scientific software and methods, and limited visibility of donation requests +for open-source software. + +It provides a simple framework (at the moment for Python only) to embed +publication or other references in the original code so they are automatically +collected and reported to the user at the necessary level of reference detail, +i.e. only references for actually used functionality will be presented back if +software provides multiple citeable implementations. + +WWW: https://github.com/duecredit/duecredit