Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 00:08:09 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
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
Message-ID:  <201805140008.w4E089YP018338@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805140008.w4E089YP018338>