[macports-ports] 01/02: py-alabaster: obsolete py26 and py33 subports

Ryan Schmidt ryandesign at macports.org
Fri May 25 19:48:05 UTC 2018


On May 24, 2018, at 09:06, Renee Otten wrote:

> Perry E. Metzger (pmetzger) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/bf5b0c8d47ccb5ebd6ea008744708aef2ea6020c
> 
> commit bf5b0c8d47ccb5ebd6ea008744708aef2ea6020c
> 
> Author: reneeotten
> AuthorDate: Wed May 23 20:55:54 2018 -0400
> 
> 
>     py-alabaster: obsolete py26 and py33 subports
> 
> ---
>  python/py-alabaster/Portfile | 2 +-
>  python/py-graveyard/Portfile | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> 
> diff --git a/python/py-alabaster/Portfile b/python/py-alabaster/Portfile
> index d422092..45c32b4 100644
> --- a/python/py-alabaster/Portfile
> +++ b/python/py-alabaster/Portfile
> @@ -17,7 +17,7 @@ long_description    ${description}
>  checksums           rmd160  33d9ddb282a79f1d14cbf48f1eda52f51422e303 \
>                      sha256  765b9609fedf1abbb9541bfc47272f9a07d1c67c4ff39a2320729b1bc5e89cb2
>  
> -python.versions     26 27 33 34 35 36
> +python.versions     27 34 35 36
>  
>  if {$subport ne $name} {
>      depends_build   port:py${python.version}-setuptools
> diff --git a/python/py-graveyard/Portfile b/python/py-graveyard/Portfile
> index 557513e..4a7e1d8 100644
> --- a/python/py-graveyard/Portfile
> +++ b/python/py-graveyard/Portfile
> @@ -213,6 +213,7 @@ py-webkitgtk            1.1.8_8     26
>  py-w3lib                1.9.0_1     33
>  py-xhtml2pdf            0.0.6_2     26
>  py-pkgconfig            1.3.1       26 33
> +py-alabaster            0.7.6       26 33
>  
>  
>  if {${subport} ne ${name}} {

Replacement doesn't work (doesn't show up in "port outdated") unless the version or revision of the replacement is higher. So you want "0.7.6_1" here, to be higher than the 0.7.6_0 (version 0.7.6 revision 0) in the py-alabaster port.

The same goes for other ports you've obsoleted recently: py-snowballstemmer, py-pkgconfig.

Please keep the list of ports in the py-graveyard port sorted in alphabetical order.



More information about the macports-dev mailing list