[MacPorts] #46465: bob: update to v2.0
#46465: bob: update to v2.0 ----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: bob ----------------------+--------------------------- Current MacPorts version of bob is 1.2.2 which is now outdated by the release of bob v2. Considering the new organization of the package perhaps multiple ports are called for. Release annoucement is [https://groups.google.com/forum/#!topic/bob- devel/OHoZUeiQ0GY here]. -- Ticket URL: <https://trac.macports.org/ticket/46465> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by devans@…): Any thoughts about this? Should v2 replace v1.2.2 or should they co- exist? Are there any issues with installing v2 on Mac OS X? -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by andre.dos.anjos@…): v2 should '''replace''' v1.2.2. Some notes: 1. v2 was conceived so that Bob is distributable via PyPI (that wasn't the case before). It now uses setuptools to build and install. CMake is gone. 2. By breaking it into multiple packages, it can be expected that the release cycle decreases for some of the packages (this means a bit more of work for packagers). I'd like to hear your opinion about this. Is there a method for easily converting a PyPI/setuptools python package into a MacPorts package? -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Changes (by devans@…): * cc: gaurav@… (added) Comment: Replying to [comment:2 andre.dos.anjos@…]:
I'd like to hear your opinion about this. Is there a method for easily
converting a PyPI/setuptools python package into a MacPorts package? It's not too hard to do a python port like this by hand. Most of the work is done by the python PortGroup. See any of the existing py-* ports for examples. Since we support multiple parallel installed versions of python, a python port typically includes subports for each version of python that is supported. Right now, we are trying to whittle the number of python versions supported to something like just python27 and python34 but python26 and python33 are not unheard of as yet. But again this depends on what versions of python your packages support. Having said that, there IS a tool for making a Portfile from PyPI, [source:trunk/dports/sysutils/pypi2port pypi2port] that you might want to look at. It's fairly new, however, and I see there are a few tickets on the current version so I'm not sure how solid it is as yet. See #47140, #47141, #47143 and {{{ port info pypi2port }}} for basic information. I'm copying the author who can give you the full details. Just for my curiosity how many different packages are we talking about? -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by andre.dos.anjos@…): What is equivalent to the old Bob is broken down in ~20 packages (https://raw.githubusercontent.com/idiap/bob/master/dependencies.png). In that drawing, it would correspond to most light-blue boxes. We're also considering to have a "base" set of Bob packages and package those as a whole instead. Do you see anything against this approach? -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by devans@…): Replying to [comment:4 andre.dos.anjos@…]:
We're also considering to have a "base" set of Bob packages and package those as a whole instead. Do you see anything against this approach?
Not at all. In fact, it might be more 'user friendly' for new users. As I read your online documentation for the first time, it wasn't clear to me what group of packages were needed to build a minimal functional system and which were optional. In this case you might have a single port bob that installs the base set but includes subports for each of the optional packages. Port php is an example that does something like this to handle a large collection of php modules. -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by tiagofrepereira@…): Hi @devans, We developed a port using the python PortGroup. It is called '''py-bob'''. Furthermore we deprecated the port called '''bob''' The tickets are opened here #48994 #48995, maybe you can have a look. Thanks Tiago -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by devans@…): Will take a look, thanks. -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by devans@…): Tiago -- I've downloaded the ports from #48994 and have started testing. I've run into a few issues but will comment on theme on that ticket. -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46465: bob: update to v2.0 -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: bob | -----------------------+--------------------------- Changes (by devans@…): * status: new => closed * cc: tiagofrepereira@… (added) * resolution: => fixed Comment: Update to py-bob 2.0.6 completed in #48994, #48995. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/46465#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts