Bug 210119 - [NEW PORT] math/py-keras: Deep Learning library for Python
Summary: [NEW PORT] math/py-keras: Deep Learning library for Python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Pawel Pekala
URL:
Keywords: feature, patch
Depends on:
Blocks:
 
Reported: 2016-06-07 19:58 UTC by Neel Chauhan
Modified: 2016-06-22 17:15 UTC (History)
3 users (show)

See Also:


Attachments
Shar file for math/keras (1.58 KB, text/plain)
2016-06-07 19:58 UTC, Neel Chauhan
nc: maintainer-approval+
Details
Poudriere build log for math/keras on FreeBSD 10.3 amd64 (34.98 KB, text/plain)
2016-06-07 19:59 UTC, Neel Chauhan
no flags Details
Poudriere build log for math/keras on FreeBSD 10.3 i386 (34.97 KB, text/plain)
2016-06-07 20:50 UTC, Neel Chauhan
no flags Details
Poudriere build log for math/keras on FreeBSD 9.3 amd64 (34.73 KB, text/plain)
2016-06-07 21:57 UTC, Neel Chauhan
no flags Details
Poudriere build log for math/keras on FreeBSD 9.3 i386 (34.70 KB, text/plain)
2016-06-07 23:22 UTC, Neel Chauhan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neel Chauhan freebsd_committer freebsd_triage 2016-06-07 19:58:20 UTC
Created attachment 171175 [details]
Shar file for math/keras

Deep Learning library for Python. Convnets, recurrent neural networks, and
more. Runs on Theano and TensorFlow.

WWW: http://keras.io/
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2016-06-07 19:59:57 UTC
Created attachment 171176 [details]
Poudriere build log for math/keras on FreeBSD 10.3 amd64
Comment 2 Neel Chauhan freebsd_committer freebsd_triage 2016-06-07 20:50:55 UTC
Created attachment 171178 [details]
Poudriere build log for math/keras on FreeBSD 10.3 i386
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2016-06-07 21:57:04 UTC
Created attachment 171179 [details]
Poudriere build log for math/keras on FreeBSD 9.3 amd64
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2016-06-07 23:22:14 UTC
Created attachment 171180 [details]
Poudriere build log for math/keras on FreeBSD 9.3 i386
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2016-06-20 16:44:18 UTC
Does not stage from plain user:

===>  Staging for py27-keras-1.0.4
===>   py27-keras-1.0.4 depends on package: py27-theano>=0.8.0 - found
===>   py27-keras-1.0.4 depends on package: py27-yaml>=0 - found
===>   py27-keras-1.0.4 depends on package: py27-six>=1.10.0 - found
===>   py27-keras-1.0.4 depends on package: py27-setuptools27>0 - found
===>   py27-keras-1.0.4 depends on file: /usr/local/bin/python2.7 - found
===>   Generating temporary packing list
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 11, in <module>
    from setuptools.extern.six.moves import filterfalse, map
  File "/usr/local/lib/python2.7/site-packages/setuptools/extern/__init__.py", line 1, in <module>
    from pkg_resources.extern import VendorImporter
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3141, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3127, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 631, in _build_master
    ws = cls()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 624, in __init__
    self.add_entry(entry)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 680, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2122, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2521, in from_location
    py_version=py_version, platform=platform, **kw
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2838, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2486, in _version_from_file
    line = next(iter(version_lines), '')
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2654, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1623, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1615, in get_metadata
    return self._get(self._fn(self.egg_info, name))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1726, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/Theano-0.8.0-py2.7.egg-info/PKG-INFO'
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-keras
Comment 6 Pawel Pekala freebsd_committer freebsd_triage 2016-06-20 18:11:18 UTC
Works here just fine, whats your testing environment?

FreeBSD blaviken.kreta.org 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #95 r301989: Fri Jun 17 18:56:07 CEST 2016     root@blaviken.kreta.org:/usr/obj/hdd/src/sys/GENERIC  amd64

Working Copy Root Path: /usr/local/ports
URL: svn+ssh://pawel@repo.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn+ssh://pawel@repo.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 417156
Node Kind: directory
Schedule: normal
Last Changed Author: mat
Last Changed Rev: 417156
Last Changed Date: 2016-06-20 15:12:09 +0200 (Mon, 20 Jun 2016)
Comment 7 commit-hook freebsd_committer freebsd_triage 2016-06-22 17:15:06 UTC
A commit references this bug:

Author: pawel
Date: Wed Jun 22 17:14:45 UTC 2016
New revision: 417325
URL: https://svnweb.freebsd.org/changeset/ports/417325

Log:
  Deep Learning library for Python. Convnets, recurrent neural networks, and
  more. Runs on Theano and TensorFlow.

  WWW: http://keras.io/

  PR:		210119
  Submitted by:	Neel Chauhan <neel@neelc.org>

Changes:
  head/math/Makefile
  head/math/py-keras/
  head/math/py-keras/Makefile
  head/math/py-keras/distinfo
  head/math/py-keras/pkg-descr