Opened 3 years ago

Closed 3 years ago

#51086 closed submission (fixed)

Portfile for borgbackup

Reported by: bket Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: borgbackup

Description

Enclosed a Portfile for borgbackup, a deduplicating backup program.

Attachments (2)

Portfile.2 (2.0 KB) - added by bket 3 years ago.
Portfile (2.0 KB) - added by bket 3 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 3 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:2 Changed 3 years ago by kurthindenburg (Kurt Hindenburg)

If no one else gets to it, I'll look at this shortly.

Typically, we use python versions 27 34 35 (if those don't work, mention why) and remove the md5 checksum.

comment:3 Changed 3 years ago by mf2k (Frank Schima)

Also, a sha256 checksum should be added. See the wiki about modern checksums.

comment:4 Changed 3 years ago by bket

  • Updated Portfile to the latest version 1.0.1
  • replaced md5 checksum by sha256 checksum
  • made a note on why Python 3.4 is used. Borgbackup is not a module but a program. Is this worth mentioning?

comment:5 Changed 3 years ago by kurthindenburg (Kurt Hindenburg)

OK that's fine. Often you can offer to support multiple version of python using variants and "python.versions 34 35" and then add code for variants +python34 and +python35

Changed 3 years ago by bket

Attachment: Portfile.2 added

Changed 3 years ago by bket

Attachment: Portfile added

comment:6 in reply to:  5 Changed 3 years ago by bket

Replying to khindenburg@…:

OK that's fine. Often you can offer to support multiple version of python using variants and "python.versions 34 35" and then add code for variants +python34 and +python35

I expanded the note on why Python 3.4 is used.

In the meantime I had a look at different ports that offer support for multiple versions of Python (non-modules, e.g. www/nghttp2). In the case of BorgBackup I'm not confident that this support solves a problem. I kinda like the simplicity of the current Portfile.

OK?

(BTW. there are now two attachments, which are identical. My bad...sorry!)

comment:7 Changed 3 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

thanks r147782

Note: See TracTickets for help on using tickets.