pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50396: Update new version textproc/py-markdown-2.6.3
The following reply was made to PR pkg/50396; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/50396: Update new version textproc/py-markdown-2.6.3
Date: Tue, 03 Nov 2015 19:00:55 +0100
Hello Kamel!
thank you for the PR, just some possible suggestions.
kamelderouiche%yahoo.com@localhost writes:
> >Number: 50396
> >Category: pkg
> >Synopsis: Update new version textproc/py-markdown-2.6.3
> [...]
> New patche (add Python suffix)
> >How-To-Repeat:
> n/a
> >Fix:
> diff -ruN PLIST.orig PLIST
> --- PLIST.orig 2015-11-02 14:51:11.000000000 +0100
> +++ PLIST 2015-11-02 20:56:31.000000000 +0100
> @@ -1,5 +1,5 @@
> -@comment $NetBSD: PLIST,v 1.5 2015/07/19 10:20:10 wiz Exp $
> -bin/markdown_py
> +@comment $NetBSD$
> +bin/markdown_py2.7
> ${PYSITELIB}/${EGG_FILE}
> ${PYSITELIB}/markdown/__init__.py
> ${PYSITELIB}/markdown/__init__.pyc
I guess that this will break py-markdown for ${PYVERSSUFFIX} != 2.7.
So 2.7 should be substituted with ${PYVERSSUFFIX}.
> diff -ruN Makefile.orig Makefile
> --- Makefile.orig 2015-11-02 14:51:06.000000000 +0100
> +++ Makefile 2015-11-02 20:57:36.000000000 +0100
> @@ -1,16 +1,25 @@
> -# $NetBSD: Makefile,v 1.8 2015/07/19 10:20:10 wiz Exp $
> +# $NetBSD$
>
> -DISTNAME= Markdown-2.6.2
> +DISTNAME= Markdown-2.6.3
> PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
> CATEGORIES= textproc python
> -MASTER_SITES= http://pypi.python.org/packages/source/M/Markdown/
> +MASTER_SITES= https://pypi.python.org/packages/source/M/Markdown/
For PyPI packages you can just use as MASTER_SITES:
MASTER_SITES= ${MASTER_SITE_PYPI}
>
> MAINTAINER= joerg%NetBSD.org@localhost
> HOMEPAGE= http://pypi.python.org/pypi/Markdown
> COMMENT= XHTML generator using a simple markup
> LICENSE= modified-bsd
>
> -PYTHON_SELF_CONFLICT= yes
> +WRKSRC= ${WRKDIR}/Markdown-2.6.3
WRKSRC redefinition isn't needed here, by default it is
${WRKDIR}/${DISTNAME}.
While here I was not able to find the changes from 2.6.2 to 2.6.3... Do
you know if upstream publish them somewhere?
Thank you again!
Ciao,
L.
Home |
Main Index |
Thread Index |
Old Index