Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.extension bob.extension
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.extensionbob.extension
  • Issues
  • #5
Closed
Open
Issue created Dec 11, 2015 by André Anjos@andre.anjos💬Owner

Macports Portfiles generation

Created by: tiagofrepereira2012

Since Bob is already on macports, the update of each package in this repository is a bit painful. Basically for each package update we are supposed regenerate the Portfile (the installation instructions for the macports) and open a ticket on macports attaching the diff between this new Portfile with the current.

Would be awesome to have a step on new_version.py script to the that for us

The steps are the following (I will use the package py-bob-blitz as a reference) 1 - Download the current Portfile from the macports official repository (http://svn.macports.org/repository/macports/trunk/dports/python/py-bob- blitz/Portfile) 2 - Update the line that corresponds the version (line 11 in this example) 3 - Update the line that corresponds the github tag (line 27 in this example) 4 - Download the tarball (last tag) from github (bob.blitz in this case) 5 - Generate sha256 and the rmd160 checksums 6 - Update the line that corresponds with the checksums (lines 34 and 35 in this example) 7 - Save this Portfile in a new file 8 - Generate the diff of this new Portfile with the original one

I think it is doable

Assignee
Assign to
Time tracking