svn commit: r428154 - head/www/py-formalchemy

Kubilay Kocak koobs at FreeBSD.org
Fri Dec 9 04:12:10 UTC 2016


On 9/12/2016 7:12 AM, Rene Ladan wrote:
>  PORTNAME=	formalchemy
> -PORTVERSION=	1.3.3
> -PORTREVISION=	2
> +PORTVERSION=	1.5.1

PyPI (CHEESESHOP) has 1.5.5

https://pypi.python.org/pypi/FormAlchemy

>  CATEGORIES=	www python
> -MASTER_SITES=	GOOGLE_CODE
> +#MASTER_SITES=	https://github.com/FormAlchemy/formalchemy

This can be removed (but switch this to CHEESESHOP instead given it has
a later version)

>  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
>  DISTNAME=	FormAlchemy-${DISTVERSION}
>  
> @@ -14,11 +13,11 @@ COMMENT=	Toolkit for creating HTML form 
>  
>  LICENSE=	MIT

There is a LICENSE_FILE (COPYRIGHT.TXT) in WKRSRC (both PyPI and
Github), please add it when one exists there.

>  
> -BROKEN=		Unfetchable (google code has gone away)
> -DEPRECATED=	Broken, depends on expired py-sqlalchemy06
> -EXPIRATION_DATE=	2016-12-08
> +USE_GITHUB=	yes
> +GH_ACCOUNT=	FormAlchemy
> +GH_TAGNAME=	v${PORTVERSION}

Use DISTVERSIONPREFIX=v instead of this (when using USE_GITHUB) and tags
begin with 'v'.
>  
> -BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy06>=0.4.5:databases/py-sqlalchemy06 \
> +BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0.4.5:databases/py-sqlalchemy10 \
>  		${PYTHON_PKGNAMEPREFIX}Tempita>=0.4:textproc/py-Tempita \
>  		${PYTHON_PKGNAMEPREFIX}webhelpers>=0.6.4:www/py-webhelpers

None of these are BUILD_DEPENDS (ie; setup.py:setup_requires) [1]

>  RUN_DEPENDS:=	${BUILD_DEPENDS}

* They are all RUN_DEPENDS (ie; setup.py:install_requires) [1]
* MarkupSafe and six are missing from RUN_DEPENDS [1]

[1] setup.py: install_requires=['SQLAlchemy', 'Tempita', 'WebHelpers2',
'WebOb', 'MarkupSafe', 'six'],

See also: https://github.com/FormAlchemy/formalchemy/issues/69 as a
backported commit may be required.



More information about the svn-ports-head mailing list