Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2017 07:16:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221311] [NEW PORT] databases/influxdb-python: InfluxDB Python client
Message-ID:  <bug-221311-13-glEerfBefC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221311-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221311-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221311

--- Comment #3 from Konstantin Shapkin <kestel@gmail.com> ---
Created attachment 185145
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185145&action=
=3Dedit
New version of diff with CHEESESHOP repo and tests

Hello Kubilay, thanks for you reply.

I made some changes in Makefile:
1. change repo type to CHEESESHOP.
2. Add TEST_DEPENDS
3. Add TEST_TARGET and do-test section, but with test make failed.=20

Poudriere tells next:=20
byte-compiling
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/usr/local/lib/python2.7=
/site-packages/influxdb/chunked_json.py
to chunked_json.pyc
writing byte-compilation script '/tmp/tmpYqUDBZ.py'
/usr/local/bin/python2.7 -O /tmp/tmpYqUDBZ.py
removing /tmp/tmpYqUDBZ.py
running install_egg_info
running egg_info
writing requirements to influxdb.egg-info/requires.txt
writing influxdb.egg-info/PKG-INFO
writing top-level names to influxdb.egg-info/top_level.txt
writing dependency_links to influxdb.egg-info/dependency_links.txt
reading manifest file 'influxdb.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'influxdb.egg-info/SOURCES.txt'
Copying influxdb.egg-info to
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/usr/local/lib/python2.7=
/site-packages/influxdb-4.1.1-py2.7.egg-info
running install_scripts
writing list of installed files to
'/wrkdirs/usr/ports/databases/py-influxdb/work/.PLIST.pymodtmp'
=3D=3D=3D=3D> Compressing man pages (compress-man)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D> Running Q/A tests (stage-qa)
=3D=3D=3D=3D> Checking for pkg-plist issues (check-plist)
=3D=3D=3D> Parsing plist
=3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist
=3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR
=3D=3D=3D> No pkg-plist issues found (check-plist)
=3D=3D=3D=3D>> Checking for staging violations... done
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building package for py27-influxdb-4.1.1
[: =3D: unexpected operator
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-pack=
ages/influxdb-4.1.1-py2.7.egg-info/PKG-INFO:No
such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file:
lib/python2.7/site-packages/influxdb-4.1.1-py2.7.egg-info/PKG-INFO
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-pack=
ages/influxdb-4.1.1-py2.7.egg-info/SOURCES.txt:No
such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file:
lib/python2.7/site-packages/influxdb-4.1.1-py2.7.egg-info/SOURCES.txt
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-pack=
ages/influxdb-4.1.1-py2.7.egg-info/dependency_links.txt:No
such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file:
lib/python2.7/site-packages/influxdb-4.1.1-py2.7.egg-info/dependency_links.=
txt
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-pack=
ages/influxdb-4.1.1-py2.7.egg-info/requires.txt:No
such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file:
lib/python2.7/site-packages/influxdb-4.1.1-py2.7.egg-info/requires.txt
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-pack=
ages/influxdb-4.1.1-py2.7.egg-info/top_level.txt:No
such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file:
lib/python2.7/site-packages/influxdb-4.1.1-py2.7.egg-info/top_level.txt
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-pack=
ages/influxdb/__init__.py:No
such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file:
lib/python2.7/site-packages/influxdb/__init__.py
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-pack=
ages/influxdb/__init__.pyc:No
such file or directory
pkg-static: DEVELOPER_MODE: Plist error, missing file:
lib/python2.7/site-packages/influxdb/__init__.pyc


On manual extract (make extract) and run "python2 setup.py test" I got next
error:
Using
/usr/ports/databases/py-influxdb/work/influxdb-4.1.1/.eggs/coverage-4.4.1-p=
y2.7-freebsd-11.1-RELEASE-amd64.egg
running egg_info
writing requirements to influxdb.egg-info/requires.txt
writing influxdb.egg-info/PKG-INFO
writing top-level names to influxdb.egg-info/top_level.txt
writing dependency_links to influxdb.egg-info/dependency_links.txt
reading manifest file 'influxdb.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'influxdb.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 56, in <module>
    'Topic :: Software Development :: Libraries :: Python Modules',
  File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_comma=
nds
    self.run_command(cmd)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_comma=
nd
    cmd_obj.run()
  File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py",
line 211, in run
    self.run_tests()
  File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py",
line 234, in run_tests
    **exit_kwarg
  File "/usr/local/lib/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/usr/local/lib/python2.7/unittest/main.py", line 149, in parseArgs
    self.createTests()
  File "/usr/local/lib/python2.7/unittest/main.py", line 158, in createTests
    self.module)
  File "/usr/local/lib/python2.7/unittest/loader.py", line 130, in
loadTestsFromNames
    suites =3D [self.loadTestsFromName(name, module) for name in names]
  File "/usr/local/lib/python2.7/unittest/loader.py", line 91, in
loadTestsFromName
    module =3D __import__('.'.join(parts_copy))
ImportError: No module named tests

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221311-13-glEerfBefC>