Opened 12 years ago
Last modified 7 years ago
#38720 new request
Add a port for bup (https://github.com/bup/bup)
Reported by: | mail@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager), petrrr | |
Port: | bup |
Description (last modified by mf2k (Frank Schima))
Hello,
maybe it would be nice to have a port for bup (https://github.com/bup/bup), which should be installable on OSX with macports as soon as the missing ports for python-pyxattr (see #38253) and python-pylibacl (#38719) are created.
Would someone create a port? Or is there an easy guideline for bloody beginners, so I could create one?
Thanks, Johannes
Change History (11)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | bup python-pylibacl python-pyxattr removed |
Port: | bup added |
Version: | 2.1.3 |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)
Since this is written in Python, should it be treated as a Python package for MacPorts? Or should it be treated differently because it doesn't look like it uses distutils?
comment:5 follow-up: 6 Changed 12 years ago by mf2k (Frank Schima)
No, definitely not. The py-* ports are meant for python modules. There are a number of ports that are written in python with "normal" names.
comment:6 Changed 12 years ago by cooljeanius (Eric Gallager)
Replying to macsforever2000@…:
No, definitely not. The py-* ports are meant for python modules. There are a number of ports that are written in python with "normal" names.
Could I have an example to look at?
comment:7 Changed 12 years ago by cooljeanius (Eric Gallager)
Also on a slightly different note, there's a Homebrew formula for bup that we could use as reference when making this portfile:
https://github.com/mxcl/homebrew/commits/master/Library/Formula/bup.rb
Although it's missing a bunch of dependencies that we'd probably want to add in the MacPorts version...
comment:8 follow-up: 9 Changed 11 years ago by mail@…
I started creating ports for the dependencies, but as I got stuck there I thought I'd get this one started.
Where to start? Which portfile could serve as a template? Whats this github portgroup? How to use it?
Thanks, Johannes
comment:9 follow-up: 11 Changed 11 years ago by cooljeanius (Eric Gallager)
Replying to mail@…:
Whats this github portgroup?
browser:trunk/dports/_resources/port1.0/group/github-1.0.tcl
How to use it?
in this case, put this at the top of your portfile, after the PortSystem 1.0
line:
PortGroup github 1.0 github.setup bup bup 0.25-rc1 bup-
There is http://guide.macports.org/chunked/development.html
Since this is on github, perhaps using the github portgroup would help. It is not documented in the guide however; look for other ports using it as an example, and/or read the source code of the portgroup file itself.