[Bug 221311] [NEW PORT] databases/influxdb-python: InfluxDB Python client
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 8 07:16:43 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221311
--- Comment #3 from Konstantin Shapkin <kestel at gmail.com> ---
Created attachment 185145
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185145&action=edit
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.
Poudriere tells next:
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'
====> Compressing man pages (compress-man)
===========================================================================
====> 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-influxdb-4.1.1
[: =: unexpected operator
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/py-influxdb/work/stage/lib/python2.7/site-packages/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-packages/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-packages/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-packages/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-packages/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-packages/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-packages/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-py2.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_commands
self.run_command(cmd)
File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
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 = [self.loadTestsFromName(name, module) for name in names]
File "/usr/local/lib/python2.7/unittest/loader.py", line 91, in
loadTestsFromName
module = __import__('.'.join(parts_copy))
ImportError: No module named tests
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list