[prev in list] [next in list] [prev in thread] [next in thread]
List: macports-dev
Subject: Re: [macports-ports] 01/04: py-graphviz: new port
From: Ryan Schmidt <ryandesign () macports ! org>
Date: 2017-08-20 20:23:29
Message-ID: 9D3CF2A7-90AE-4727-AE43-3CBBA38773A0 () macports ! org
[Download RAW message or body]
> On Aug 19, 2017, at 09:37, Marcus Calhoun-Lopez <mcalhoun@macports.org> wrote:
>
> Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
> in repository macports-ports.
>
>
> https://github.com/macports/macports-ports/commit/2eca66ffe13a756a645f2222f42f99c2ad3a1848
>
> commit 2eca66ffe13a756a645f2222f42f99c2ad3a1848
>
> Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
> AuthorDate: Sat Aug 19 07:32:06 2017 -0700
>
>
> py-graphviz: new port
>
> ---
> python/py-graphviz/Portfile | 38 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 38 insertions(+)
>
>
> diff --git a/python/py-graphviz/Portfile b/python/py-graphviz/Portfile
> new file mode 100644
> index 0000000..89ed9a9
> --- /dev/null
> +++ b/python/py-graphviz/Portfile
> @@ -0,0 +1,38 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; \
> c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 +
> +PortSystem 1.0
> +PortGroup python 1.0
> +PortGroup github 1.0
> +
> +github.setup xflr6 graphviz 0.8
...
> +master_sites ${github.homepage}/archive/
> +distname ${version}
> +worksrcdir ${github.project}-${version}
You should not need to change master_sites, distname, worksrcdir when fetching from a \
GitHub tag. The values the portgroup sets should be sufficient, though since it will \
fetch from a tarball URL and not an archive URL, the checksums will be different. \
Please remove these lines when you update the port to the next version. Further \
documentation of this portgroup is available in the comments at the top of the \
portgroup file.
If you want to implement fetching from archive URLs, please do that in the portgroup \
file, not in each port individually. See:
https://trac.macports.org/ticket/40518
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic