[Buildroot] [PATCH v2 1/2] package/python-pydal: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Apr 13 14:17:16 UTC 2015


Dear Angelo Compagnucci,

On Mon, 13 Apr 2015 15:57:26 +0200, Angelo Compagnucci wrote:

> diff --git a/package/python-pydal/Config.in b/package/python-pydal/Config.in
> new file mode 100644
> index 0000000..eda2f77
> --- /dev/null
> +++ b/package/python-pydal/Config.in
> @@ -0,0 +1,2 @@
> +config BR2_PACKAGE_PYTHON_PYDAL
> +	bool

I understand that the source code for this package is copied into the
web2py code, so that's why it's a prompt-less package. Is it the only
way of doing things?

> diff --git a/package/python-pydal/python-pydal.mk b/package/python-pydal/python-pydal.mk
> new file mode 100644
> index 0000000..a88bf8b
> --- /dev/null
> +++ b/package/python-pydal/python-pydal.mk
> @@ -0,0 +1,13 @@
> +################################################################################
> +#
> +# python-pydal
> +#
> +################################################################################
> +
> +PYTHON_PYDAL_VERSION = v15.03
> +PYTHON_PYDAL_SITE = https://github.com/web2py/pydal.git
> +PYTHON_PYDAL_SITE_METHOD = git

github function?

> +PYTHON_PYDAL_LICENSE = BSDv3

BSDv3 does not exist. You're confusing GPLv3 and BSD-3c.

> +PYTHON_PYDAL_LICENSE_FILES = LICENSE
> +
> +$(eval $(generic-package))

A comment above this to explain why we have this generic-package that
doesn't do anything.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list