[MacPorts] #51094: "z3 New port"
#51094: "z3 New port" ----------------------+-------------------------------- Reporter: aturqi@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: z3 | Port: z3 ----------------------+-------------------------------- {{{ This is a new port of a software that is not in macports yet. Some other ports might need this as a dependency. }}} -- Ticket URL: <https://trac.macports.org/ticket/51094> MacPorts <https://www.macports.org/> Ports system for OS X
#51094: "z3 New port" -----------------------+-------------------------------- Reporter: aturqi@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: z3 Port: z3 | -----------------------+-------------------------------- Comment (by ryandesign@…): Instead of manually specifying GitHub-related information, please use the github 1.0 portgroup and the `github.setup` procedure. Since the github portgroup uses "tarball" downloads, not "archive" downloads, this also means the checksums will change. -- Ticket URL: <https://trac.macports.org/ticket/51094#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51094: z3 New port -------------------------+-------------------------------- Reporter: aturqi@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: z3 | -------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: z3 => * type: request => submission Old description:
{{{ This is a new port of a software that is not in macports yet. Some other ports might need this as a dependency. }}}
New description: This is a new port of a software that is not in macports yet. Some other ports might need this as a dependency. -- -- Ticket URL: <https://trac.macports.org/ticket/51094#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51094: z3 New port -------------------------+-------------------------------- Reporter: aturqi@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: z3 | -------------------------+-------------------------------- Comment (by mf2k@…): Also, remove the {{{extract.suffix}}} and {{{distname}}} lines since they are the default. -- Ticket URL: <https://trac.macports.org/ticket/51094#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51094: z3 New port -------------------------+-------------------------------- Reporter: aturqi@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: z3 | -------------------------+-------------------------------- Comment (by aturqi@…): Updated portfile.1 with patch file. I don't know why we update the checksums. If I follow the same way, I got the same number. any suggestion? -- Ticket URL: <https://trac.macports.org/ticket/51094#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51094: z3 New port -------------------------+-------------------------------- Reporter: aturqi@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: z3 | -------------------------+-------------------------------- Comment (by ryandesign@…): The way that you're calling `github.setup` in attachment:Portfile.1 is not correct. You've specified that the GitHub organization is "MIT" but it's actually "Z3Prover". There is a space after a backslash in your `long_description`, which is a syntax error. The backslash must be the last character on the line. The `homepage` and `master_sites` lines should be removed because the github portgroup will set them correctly for you. Rather than using a `master_sites` URL ending with `archive`, the github portgroup will use one ending in `tarball`. "tarball" files are identical to "archive" files, with the exception of the name of the directory into which they extract, but that small difference is enough to cause the checksums to be different. The line `patchfiles Portfile-z3github.diff` that you've added to the Portfile is not correct, nor is the file attachment:Portfile- z3github.diff. The last line of your `post-destroot` block has syntax errors (continued to the next line without trailing backslash on the first line) and typos ("examaples"). The examples directory should be inside the doc directory. See https://guide.macports.org/#development.examples.augment I've attached a Portfile that fixes these problems. It now fails at the configure phase with this error: {{{ Traceback (most recent call last): File "scripts/mk_make.py", line 12, in <module> parse_options() File "/opt/local/var/macports/build/_private_tmp_z3/z3/work/z3-4.4.1/scripts/mk_util.py", line 633, in parse_options mk_dir(PYTHON_PACKAGE_DIR) File "/opt/local/var/macports/build/_private_tmp_z3/z3/work/z3-4.4.1/scripts/mk_util.py", line 691, in mk_dir os.makedirs(d) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 1] Operation not permitted: '/opt/local/lib/python2.7 /dist-packages' }}} You'll need to figure out why it's trying to do anything in /opt/local/lib/python2.7/dist-packages at configure time, and find a way to prevent it from doing that. Ports aren't permitted to modify files outside of their work directory during most phases. -- Ticket URL: <https://trac.macports.org/ticket/51094#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#51094: z3 New port -------------------------+-------------------------------- Reporter: aturqi@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: z3 | -------------------------+-------------------------------- Comment (by aturqi@…): Attached the z3 portfile. Wish it works. -- Ticket URL: <https://trac.macports.org/ticket/51094#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts