From owner-svn-ports-all@freebsd.org Sun May 13 23:37:35 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 45A98FDA3BC; Sun, 13 May 2018 23:37:35 +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 EC2786A43D; Sun, 13 May 2018 23:37:34 +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 CDEF514408; Sun, 13 May 2018 23:37:34 +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 w4DNbYGJ002683; Sun, 13 May 2018 23:37:34 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4DNbXWx002679; Sun, 13 May 2018 23:37:33 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201805132337.w4DNbXWx002679@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 13 May 2018 23:37:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469838 - in head/textproc: . py-citeproc-py py-citeproc-py/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/textproc: . py-citeproc-py py-citeproc-py/files X-SVN-Commit-Revision: 469838 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: Sun, 13 May 2018 23:37:35 -0000 Author: yuri Date: Sun May 13 23:37:33 2018 New Revision: 469838 URL: https://svnweb.freebsd.org/changeset/ports/469838 Log: New port: textproc/py-citeproc-py: Citation Style Language (CSL) processor for Python Added: head/textproc/py-citeproc-py/ head/textproc/py-citeproc-py/Makefile (contents, props changed) head/textproc/py-citeproc-py/distinfo (contents, props changed) head/textproc/py-citeproc-py/files/ head/textproc/py-citeproc-py/files/patch-setup.py (contents, props changed) head/textproc/py-citeproc-py/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sun May 13 23:09:45 2018 (r469837) +++ head/textproc/Makefile Sun May 13 23:37:33 2018 (r469838) @@ -1278,6 +1278,7 @@ SUBDIR += py-bibtexparser SUBDIR += py-bugzillatools SUBDIR += py-chardet + SUBDIR += py-citeproc-py SUBDIR += py-cjkwrap SUBDIR += py-cloud_sptheme SUBDIR += py-colorclass Added: head/textproc/py-citeproc-py/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-citeproc-py/Makefile Sun May 13 23:37:33 2018 (r469838) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= citeproc-py +DISTVERSION= 0.4.0 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Citation Style Language (CSL) processor for Python + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rnc2rng>=2.2:textproc/py-rnc2rng@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${FLAVOR} + +USES= python +USE_PYTHON= distutils concurrent autoplist +NO_ARCH= yes + +.include Added: head/textproc/py-citeproc-py/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-citeproc-py/distinfo Sun May 13 23:37:33 2018 (r469838) @@ -0,0 +1,3 @@ +TIMESTAMP = 1526252111 +SHA256 (citeproc-py-0.4.0.tar.gz) = ed513dbc76f782b5e98126d6bebbd1284841fcf199ec9dda552e2bce864adadf +SIZE (citeproc-py-0.4.0.tar.gz) = 109786 Added: head/textproc/py-citeproc-py/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-citeproc-py/files/patch-setup.py Sun May 13 23:37:33 2018 (r469838) @@ -0,0 +1,19 @@ +--- setup.py.orig 2017-06-23 13:08:27 UTC ++++ setup.py +@@ -29,7 +29,7 @@ os.chdir(BASE_PATH) + # inspired by http://dcreager.net/2010/02/10/setuptools-git-version-numbers/ + try: + print('Attempting to get version number from git...') +- git = Popen(['git', 'describe', '--always', '--dirty'], ++ git = Popen(['/usr/bin/false', 'describe', '--always', '--dirty'], + stdout=PIPE, stderr=sys.stderr) + if git.wait() != 0: + raise OSError +@@ -85,7 +85,6 @@ setup( + name='citeproc-py', + version=__version__, + cmdclass = dict(build_py=custom_build_py, develop=custom_develop), +- packages=find_packages(), + package_data={PACKAGE: ['data/locales/*.xml', + 'data/schema/*.rng', + 'data/styles/*.csl']}, Added: head/textproc/py-citeproc-py/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-citeproc-py/pkg-descr Sun May 13 23:37:33 2018 (r469838) @@ -0,0 +1,7 @@ +Python implementation of the Citation Style Language (CSL). It is currently +far from complete, and may just be experiment. + +The goal is a Python CSL implementation that includes a good test foundation, +and is easy to integrate into different contexts. + +WWW: https://github.com/bdarcus/citeproc-py