pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-recluse: update to 0.4.4.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sat Sep 30 00:10:59 2017 +0200
Changeset: ebe9a51f4b1789b08672378c6081613adf0fd8e5
Modified Files:
py-recluse/Makefile
py-recluse/PLIST
py-recluse/distinfo
Log Message:
py-recluse: update to 0.4.4.
Release 0.4.4 (2014-03-17)
..........................
* NON-BACKWARDS-COMPATIBLE change to open_with_unicode parameters: now compression_type is a keyword argument; when left out, transparently falls back to opening with no compression, and matches the interface of regular Python open.
* Cleaned up a lot redundancy in open_with_unicode (Thank you, Allison Kaptur!)
Release 0.4.3 (2013-11-23)
..........................
* Wrapped the shutil.rmtree in vocabulary_generator in case of errors due to timing effects of .nsf files.
Release 0.4.2 (2013-11-11)
..........................
* Refined the vocabulary_cutter and vocabulary_generator so they can optionally use a frequency cutoff instead of a size.
Release 0.4.1 (2013-11-09)
..........................
* Refined the nltk_based_segmenter_tokeniser punkt object option; the punkt_obj must be an sbd attribute of an nltk.tokenise.punkt.PunktSentenceTokenizer.
Release 0.4.0 (2013-11-08)
..........................
* nltk_based_segmenter_tokeniser can now read in a punkt object from prior work, for example, a pickled one.
Release 0.3.2 (2013-11-03)
..........................
* Made a new module article_selector, intended to replace article_randomiser.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ebe9a51f4b1789b08672378c6081613adf0fd8e5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-recluse/Makefile | 12 ++++++------
py-recluse/PLIST | 15 +++++++++++----
py-recluse/distinfo | 7 ++++---
3 files changed, 21 insertions(+), 13 deletions(-)
diffs:
diff --git a/py-recluse/Makefile b/py-recluse/Makefile
index 8f78af35ab..3f23669d78 100644
--- a/py-recluse/Makefile
+++ b/py-recluse/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2014/06/01 12:49:45 thomasklausner Exp $
-DISTNAME= recluse-0.3.1
+DISTNAME= recluse-0.4.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=r/recluse/}
@@ -8,15 +8,15 @@ MASTER_SITES= ${MASTER_SITE_PYPI:=r/recluse/}
MAINTAINER= jihbed.research%gmail.com@localhost
HOMEPAGE= https://github.com/lamber/recluse
COMMENT= Reproducible Experimentation for Computational Linguistics Use
-#LICENSE= # TODO: (see mk/license.mk)
+LICENSE= gnu-agpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-nltk-[0-9]*:../../wip/py-nltk
+DEPENDS+= ${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex
USE_LANGUAGES= # none
-PYDISTUTILSPKG= yes
post-extract:
${MV} ${WRKSRC}/scripts/nltkbasedsegmentertokeniserrunner ${WRKSRC}/scripts/nltkbasedsegmentertokeniserrunner${PYVERSSUFFIX}
-.include "../../lang/python/extension.mk"
-DEPENDS+= ${PYPKGPREFIX}-nltk-[0-9]*:../../wip/py-nltk
-DEPENDS+= ${PYPKGPREFIX}-regex-[0-9]*:../../wip/py-regex
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-recluse/PLIST b/py-recluse/PLIST
index b2cacf092c..0bcf7979e2 100644
--- a/py-recluse/PLIST
+++ b/py-recluse/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2013/11/05 17:46:51 jihbed Exp $
-bin/nltkbasedsegmentertokeniserrunner2.7
+@comment $NetBSD$
+bin/nltkbasedsegmentertokeniserrunner${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/recluse/__init__.py
${PYSITELIB}/recluse/__init__.pyc
${PYSITELIB}/recluse/__init__.pyo
@@ -9,6 +10,9 @@ ${PYSITELIB}/recluse/_version.pyo
${PYSITELIB}/recluse/article_randomiser.py
${PYSITELIB}/recluse/article_randomiser.pyc
${PYSITELIB}/recluse/article_randomiser.pyo
+${PYSITELIB}/recluse/article_selector.py
+${PYSITELIB}/recluse/article_selector.pyc
+${PYSITELIB}/recluse/article_selector.pyo
${PYSITELIB}/recluse/nltk_based_segmenter_tokeniser.py
${PYSITELIB}/recluse/nltk_based_segmenter_tokeniser.pyc
${PYSITELIB}/recluse/nltk_based_segmenter_tokeniser.pyo
@@ -26,6 +30,9 @@ ${PYSITELIB}/recluse/test/data/unigram_counts.gz
${PYSITELIB}/recluse/test/test_article_randomiser.py
${PYSITELIB}/recluse/test/test_article_randomiser.pyc
${PYSITELIB}/recluse/test/test_article_randomiser.pyo
+${PYSITELIB}/recluse/test/test_article_selector.py
+${PYSITELIB}/recluse/test/test_article_selector.pyc
+${PYSITELIB}/recluse/test/test_article_selector.pyo
${PYSITELIB}/recluse/test/test_nltk_based_segmenter_tokeniser.py
${PYSITELIB}/recluse/test/test_nltk_based_segmenter_tokeniser.pyc
${PYSITELIB}/recluse/test/test_nltk_based_segmenter_tokeniser.pyo
@@ -45,5 +52,5 @@ ${PYSITELIB}/recluse/vocabulary_cutter.py
${PYSITELIB}/recluse/vocabulary_cutter.pyc
${PYSITELIB}/recluse/vocabulary_cutter.pyo
${PYSITELIB}/recluse/vocabulary_generator.py
-${PYSITELIB}/recluse/vocabulary_generator.pyc
-${PYSITELIB}/recluse/vocabulary_generator.pyo
+${PLIST.py2x}${PYSITELIB}/recluse/vocabulary_generator.pyc
+${PLIST.py2x}${PYSITELIB}/recluse/vocabulary_generator.pyo
diff --git a/py-recluse/distinfo b/py-recluse/distinfo
index 491c4613e1..87501cd379 100644
--- a/py-recluse/distinfo
+++ b/py-recluse/distinfo
@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.1 2013/11/05 17:46:51 jihbed Exp $
-SHA1 (recluse-0.3.1.tar.gz) = 710352fb0cbdc319593aa6dc07a87005538ad9af
-RMD160 (recluse-0.3.1.tar.gz) = 01f056860bf5d9effaf99251320108cd549945cc
-Size (recluse-0.3.1.tar.gz) = 460083 bytes
+SHA1 (recluse-0.4.4.tar.gz) = f8b3e1288afbc53a2548b6e3d40205540b613706
+RMD160 (recluse-0.4.4.tar.gz) = 511e5190da74a76736239ad63b39630178d2efd8
+SHA512 (recluse-0.4.4.tar.gz) = 1a84e0d394d5a1137c58e788008048967eb31073bba879436ef750fa79ee6b4f2eb685790b2a6cc32e8231048c34a1cf7f1bf1ab74e7fbb23fed989174742910
+Size (recluse-0.4.4.tar.gz) = 462955 bytes
SHA1 (patch-setup.py) = 207749f71253c4105925a8b91631aa6b61254ba0
Home |
Main Index |
Thread Index |
Old Index