satraul / macports-base Goto Github PK
View Code? Open in Web Editor NEWThis project forked from macports/macports-base
The MacPorts command-line client
Home Page: https://trac.macports.org
License: BSD 3-Clause "New" or "Revised" License
This project forked from macports/macports-base
The MacPorts command-line client
Home Page: https://trac.macports.org
License: BSD 3-Clause "New" or "Revised" License
This would first get the latest version according to livecheck, then fetches the distfile. If successfully fetched, all values are automatically updated. This argument conflicts with @version since it both overrides the version.
You should also write a manpage for port bump, see the files in the doc/ directory. Copy one of them into port-bump.1.txt, write the manpage, then commit the source first and the generated port-bump.1 file in a separate commit.
Create unit tests that test port bump
with all possible arguments, also edge cases.
Currently the flag @version is supported to activate old versions of a Port which are already installed by the user, using port activate [portname] @version. With port bump, the @version argument would override the existing ${version} specified in the Portfile. Then, port bump will try to fetch the distfile with the overridden version. If successfully fetched, the new version number and values are inserted to the Portfile.
Investigate how to force /usr/lib/libxcselect.dylib to not select Xcode and how MacPorts build phase works in general.
Portfile should support use_xcode, a flag for Xcode dependency.
# Portfile
...
use_zip yes
use_configure no
use_xcode yes
extract.mkdir yes
...
Then, when port build (a port1.0 target action) is run, this flag is checked and warnings and/or errors are issued correspondingly.
# src/port1.0/portbuild.tcl
...
# define options
options build.asroot \
build.jobs \
build.target \
use_parallel_build \
use_xcode \
use_xcode_clt
...
if { [tbool use_xcode] && ![tbool xcodeInstalled] } {
return -code error "Xcode was not found on this system!"
}
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.