Bug 214743 - [NEW PORTS]: new openstack libraries
Summary: [NEW PORTS]: new openstack libraries
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: Roman Bogorodskiy
URL:
Keywords:
Depends on: 214741
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-22 14:17 UTC by Alexander Nusov
Modified: 2016-11-27 12:27 UTC (History)
1 user (show)

See Also:


Attachments
new openstack libraries (28.68 KB, patch)
2016-11-22 14:17 UTC, Alexander Nusov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nusov 2016-11-22 14:17:36 UTC
Created attachment 177283 [details]
new openstack libraries

this port add new openstack libraries
devel/py-microversion-parse/ 
devel/py-os-brick/ 
devel/py-os-vif/
devel/py-os-win/ 
devel/py-oslo.privsep/ 
devel/py-oslo.reports/ 
devel/py-oslo.rootwrap/ 
devel/py-oslo.versionedobjects/
devel/py-websockify/ 
devel/py-wsgi_intercept/
Comment 1 Alexander Nusov 2016-11-22 15:35:44 UTC
BTW, regarding py-os-brick

Looks like "pkg" has a bug with generating/validating pkg-plist when a file is located in a nested directory 

for instance,
${WRKSRC}/etc/os-brick/rootwrap.d/os-brick.filters
           |       |- no files
           |- no files

when there are no files at /etc/os-brick/rootwrap.d/ or /etc/os-brick, check-plist complains 

===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: etc/
Error: Missing: %%ETCDIR%%
===> Error: Plist issues found.

at this point pkg has generated wrong plist (listed etc/os-brick and etc as files)
/usr/local/lib/python2.7/site-packages/os_brick/encryptors/nop.pyo
/usr/local/etc/os-brick
/usr/local/etc/os-brick/rootwrap.d/os-brick.filters
/usr/local/etc/
/usr/local/lib/python2.7/site-packages/os_brick-1.8.0-py2.7.egg-info/top_level.txt]

creating a pkg-plist file with %%ETCDIR%%/os-brick/rootwrap.d/os-brick.filters won't help.

so I added post-patch to create dummy files as a workaround

35	
36	post-patch:
37		@${ECHO_CMD} "os-brick configuration at ${PREFIX}/etc/os-brick/rootwrap.d" >> \
38			${WRKSRC}/etc/os-brick.readme
39		@${ECHO_CMD} "os-brick configuration" >> ${WRKSRC}/etc/os-brick/info
Comment 2 commit-hook freebsd_committer 2016-11-27 11:37:46 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 11:37:00 UTC 2016
New revision: 427219
URL: https://svnweb.freebsd.org/changeset/ports/427219

Log:
  Add py-microversion-parse 0.1.4, openstack microversion header parser.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-microversion-parse/
  head/devel/py-microversion-parse/Makefile
  head/devel/py-microversion-parse/distinfo
  head/devel/py-microversion-parse/pkg-descr
Comment 3 commit-hook freebsd_committer 2016-11-27 11:40:47 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 11:40:10 UTC 2016
New revision: 427220
URL: https://svnweb.freebsd.org/changeset/ports/427220

Log:
  Add py-oslo.privsep 1.14.0, openstack library for privilege separation.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-oslo.privsep/
  head/devel/py-oslo.privsep/Makefile
  head/devel/py-oslo.privsep/distinfo
  head/devel/py-oslo.privsep/pkg-descr
Comment 4 commit-hook freebsd_committer 2016-11-27 11:41:49 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 11:41:11 UTC 2016
New revision: 427221
URL: https://svnweb.freebsd.org/changeset/ports/427221

Log:
  Add py-oslo.reports 1.15.0, oslo.reports library.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-oslo.reports/
  head/devel/py-oslo.reports/Makefile
  head/devel/py-oslo.reports/distinfo
  head/devel/py-oslo.reports/pkg-descr
Comment 5 commit-hook freebsd_committer 2016-11-27 11:42:50 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 11:42:16 UTC 2016
New revision: 427222
URL: https://svnweb.freebsd.org/changeset/ports/427222

Log:
  Add py-oslo.rootwrap 5.2.0, oslo rootwrap.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-oslo.rootwrap/
  head/devel/py-oslo.rootwrap/Makefile
  head/devel/py-oslo.rootwrap/distinfo
  head/devel/py-oslo.rootwrap/pkg-descr
Comment 6 commit-hook freebsd_committer 2016-11-27 11:43:52 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 11:43:28 UTC 2016
New revision: 427223
URL: https://svnweb.freebsd.org/changeset/ports/427223

Log:
  Add py-oslo.versionedobjects 1.18.0, oslo versioned objects library.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-oslo.versionedobjects/
  head/devel/py-oslo.versionedobjects/Makefile
  head/devel/py-oslo.versionedobjects/distinfo
  head/devel/py-oslo.versionedobjects/pkg-descr
Comment 7 commit-hook freebsd_committer 2016-11-27 11:48:54 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 11:47:51 UTC 2016
New revision: 427224
URL: https://svnweb.freebsd.org/changeset/ports/427224

Log:
  Add py-websockify 0.8.0, webSocket to TCP proxy/bridge.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-websockify/
  head/devel/py-websockify/Makefile
  head/devel/py-websockify/distinfo
  head/devel/py-websockify/pkg-descr
Comment 8 commit-hook freebsd_committer 2016-11-27 11:49:55 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 11:48:51 UTC 2016
New revision: 427225
URL: https://svnweb.freebsd.org/changeset/ports/427225

Log:
  Add py-wsgi_intercept 1.4.1, WSGI application in place of a real uri for
  testing.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-wsgi_intercept/
  head/devel/py-wsgi_intercept/Makefile
  head/devel/py-wsgi_intercept/distinfo
  head/devel/py-wsgi_intercept/pkg-descr
Comment 9 commit-hook freebsd_committer 2016-11-27 12:05:00 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 12:04:49 UTC 2016
New revision: 427228
URL: https://svnweb.freebsd.org/changeset/ports/427228

Log:
  Add py-os-win 1.2.1, windows / hyper-v library for openstack projects.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-os-win/
  head/devel/py-os-win/Makefile
  head/devel/py-os-win/distinfo
  head/devel/py-os-win/pkg-descr
Comment 10 commit-hook freebsd_committer 2016-11-27 12:24:02 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 12:23:37 UTC 2016
New revision: 427229
URL: https://svnweb.freebsd.org/changeset/ports/427229

Log:
  Add py-os-brick 1.8.0, openstack cinder brick library for managing local
  volume attaches.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-os-brick/
  head/devel/py-os-brick/Makefile
  head/devel/py-os-brick/distinfo
  head/devel/py-os-brick/pkg-descr
  head/devel/py-os-brick/pkg-message
Comment 11 commit-hook freebsd_committer 2016-11-27 12:27:04 UTC
A commit references this bug:

Author: novel
Date: Sun Nov 27 12:26:42 UTC 2016
New revision: 427230
URL: https://svnweb.freebsd.org/changeset/ports/427230

Log:
  Add py-os-vif 1.3.0, library for plugging and unplugging virtual
  interfaces in openstack.

  PR:		214743
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/devel/Makefile
  head/devel/py-os-vif/
  head/devel/py-os-vif/Makefile
  head/devel/py-os-vif/distinfo
  head/devel/py-os-vif/pkg-descr
Comment 12 Roman Bogorodskiy freebsd_committer 2016-11-27 12:27:28 UTC
Committed, thanks!