Bug 211058 - [NEW PORT] textproc/py-guess-language: Guess the natural language of a text in Python
Summary: [NEW PORT] textproc/py-guess-language: Guess the natural language of a text i...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks: 211061
  Show dependency treegraph
 
Reported: 2016-07-12 21:51 UTC by Danilo G. Baio
Modified: 2016-07-15 17:30 UTC (History)
1 user (show)

See Also:


Attachments
py-guess-language.shar (1.75 KB, text/plain)
2016-07-12 21:51 UTC, Danilo G. Baio
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo G. Baio freebsd_committer freebsd_triage 2016-07-12 21:51:26 UTC
Created attachment 172439 [details]
py-guess-language.shar

Attempts to determine the natural language of a selection of Unicode
(utf-8) text. Based on guesslanguage.cpp by Jacob R Rideout for KDE
which itself is based on Language::Guess by Maciej Ceglowski. Detects
over 60 languages, all languages listed in the trigrams directory
plus Japanese, Chinese, Korean and Greek.

This port will be used as a dependency for security/w3af.

- portlint compliant
- poudriere tests ok FreeBSD 9.3|10.3|11 - i386|amd64

Poudriere output as example:

build started at Tue Jul 12 18:46:55 BRT 2016
port directory: /usr/ports/textproc/py-guess-language
building for: FreeBSD 11amd64-ports_dbaio 11.0-ALPHA1 FreeBSD 11.0-ALPHA1 r301120 amd64
maintained by: dbaio@bsd.com.br
ident warning: no id keywords in /usr/local/poudriere/data/.m/11amd64-ports_dbaio/ref//usr/ports/textproc/py-guess-language/Makefile
Makefile ident: 
Poudriere version: 3.2-pre
Host OSVERSION: 1100120
Jail OSVERSION: 1100116
[...]
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
====>> Checking for staging violations... done
=======================<phase: package        >============================
===>  Building package for py27-guess-language-0.2
===========================================================================
=======================<phase: install-mtree  >============================
===========================================================================
====>> Recording filesystem state for preinst... done
=======================<phase: install        >============================
===>  Installing for py27-guess-language-0.2
===>   py27-guess-language-0.2 depends on package: py27-setuptools27>0 - found
===>   py27-guess-language-0.2 depends on file: /usr/local/bin/python2.7 - found
===>  Checking if py27-guess-language already installed
===>   Registering installation for py27-guess-language-0.2
[11amd64-ports_dbaio] Installing py27-guess-language-0.2...
===========================================================================
====>> Checking shared library dependencies
=======================<phase: deinstall      >============================
===>  Deinstalling for py27-guess-language
===>   Deinstalling py27-guess-language-0.2
Updating database digests format: ........ done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	py27-guess-language-0.2

Number of packages to be removed: 1
[11amd64-ports_dbaio] [1/1] Deinstalling py27-guess-language-0.2...
[11amd64-ports_dbaio] [1/1] Deleting files for py27-guess-language-0.2: .......... done
===========================================================================
====>> Checking for extra files and directories
[00:00:26] ====>> Installing from package
[11amd64-ports_dbaio] Installing py27-guess-language-0.2...
[11amd64-ports_dbaio] Extracting py27-guess-language-0.2: .......... done
[00:00:26] ====>> Cleaning up
===>  Cleaning for py27-guess-language-0.2
[00:00:26] ====>> Deinstalling package
Updating database digests format: . done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	py27-guess-language-0.2

Number of packages to be removed: 1
[11amd64-ports_dbaio] [1/1] Deinstalling py27-guess-language-0.2...
[11amd64-ports_dbaio] [1/1] Deleting files for py27-guess-language-0.2: .......... done
build of textproc/py-guess-language ended at Tue Jul 12 18:47:14 BRT 2016
build time: 00:00:19
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2016-07-15 17:29:38 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-07-15 17:30:22 UTC
A commit references this bug:

Author: pi
Date: Fri Jul 15 17:29:27 UTC 2016
New revision: 418595
URL: https://svnweb.freebsd.org/changeset/ports/418595

Log:
  New port: textproc/py-guess-language

  Attempts to determine the natural language of a selection of Unicode
  (utf-8) text. Based on guesslanguage.cpp by Jacob R Rideout for KDE
  which itself is based on Language::Guess by Maciej Ceglowski. Detects
  over 60 languages, all languages listed in the trigrams directory
  plus Japanese, Chinese, Korean and Greek.

  WWW: https://pypi.python.org/pypi/guess-language

  PR:		211058
  Submitted by:	Danilo G. Baio <dbaio@bsd.com.br>

Changes:
  head/textproc/Makefile
  head/textproc/py-guess-language/
  head/textproc/py-guess-language/Makefile
  head/textproc/py-guess-language/distinfo
  head/textproc/py-guess-language/pkg-descr