code
string | repo_name
string | path
string | language
string | license
string | size
int64 |
---|---|---|---|---|---|
################################################################################
#
# python-meld3
#
################################################################################
PYTHON_MELD3_VERSION = 1.0.2
PYTHON_MELD3_SOURCE = meld3-$(PYTHON_MELD3_VERSION).tar.gz
PYTHON_MELD3_SITE = https://pypi.python.org/packages/45/a0/317c6422b26c12fe0161e936fc35f36552069ba8e6f7ecbd99bbffe32a5f
PYTHON_MELD3_LICENSE = ZPLv2.1
PYTHON_MELD3_LICENSE_FILES = COPYRIGHT.txt LICENSE.txt
PYTHON_MELD3_SETUP_TYPE = setuptools
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-meld3/python-meld3.mk
|
mk
|
mit
| 540 |
config BR2_PACKAGE_PYTHON_MISTUNE
bool "python-mistune"
help
The fastest markdown parser in pure Python with renderer
features, inspired by marked.
https://pypi.python.org/pypi/mistune
|
shibajee/buildroot
|
package/python-mistune/Config.in
|
in
|
mit
| 197 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=ed9ac03c99261bd1803e44ddaa4f87cb, sha256 locally computed.
md5 ed9ac03c99261bd1803e44ddaa4f87cb mistune-0.7.2.tar.gz
sha256 626f2516adcde4af608eaf83635ff20ff7e577c1898ad4d0f0fcd8c094399840 mistune-0.7.2.tar.gz
|
shibajee/buildroot
|
package/python-mistune/python-mistune.hash
|
hash
|
mit
| 276 |
################################################################################
#
# python-mistune
#
################################################################################
PYTHON_MISTUNE_VERSION = 0.7.2
PYTHON_MISTUNE_SOURCE = mistune-$(PYTHON_MISTUNE_VERSION).tar.gz
PYTHON_MISTUNE_SITE = http://pypi.python.org/packages/source/m/mistune
PYTHON_MISTUNE_LICENSE = BSD-3c
PYTHON_MISTUNE_LICENSE_FILES = LICENSE
PYTHON_MISTUNE_SETUP_TYPE = setuptools
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-mistune/python-mistune.mk
|
mk
|
mit
| 488 |
config BR2_PACKAGE_PYTHON_MSGPACK
bool "python-msgpack"
select BR2_PACKAGE_MSGPACK
depends on BR2_INSTALL_LIBSTDCPP # msgpack
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # msgpack
help
MessagePack (http://msgpack.org/) is a fast, compact binary
serialization format, suitable for similar data to JSON.
This package provides CPython bindings for reading and
writing MessagePack data.
https://pypi.python.org/pypi/msgpack-python/
comment "python-msgpack needs a toolchain w/ C++"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP
|
shibajee/buildroot
|
package/python-msgpack/Config.in
|
in
|
mit
| 564 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=eb2aad1081534ef3a9f32a0ecd350b9b, sha356 locally computed.
md5 eb2aad1081534ef3a9f32a0ecd350b9b msgpack-python-0.4.7.tar.gz
sha256 5e001229a54180a02dcdd59db23c9978351af55b1290c27bc549e381f43acd6b msgpack-python-0.4.7.tar.gz
|
shibajee/buildroot
|
package/python-msgpack/python-msgpack.hash
|
hash
|
mit
| 290 |
################################################################################
#
# python-msgpack
#
################################################################################
PYTHON_MSGPACK_VERSION = 0.4.7
PYTHON_MSGPACK_SOURCE = msgpack-python-$(PYTHON_MSGPACK_VERSION).tar.gz
PYTHON_MSGPACK_SITE = https://pypi.python.org/packages/source/m/msgpack-python
PYTHON_MSGPACK_LICENSE = Apache-2.0
PYTHON_MSGPACK_LICENSE_FILES = COPYING
PYTHON_MSGPACK_SETUP_TYPE = setuptools
PYTHON_MSGPACK_DEPENDENCIES = msgpack
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-msgpack/python-msgpack.mk
|
mk
|
mit
| 545 |
config BR2_PACKAGE_PYTHON_NETADDR
bool "python-netaddr"
help
A network address manipulation library for Python.
https://pypi.python.org/pypi/netaddr
|
shibajee/buildroot
|
package/python-netaddr/Config.in
|
in
|
mit
| 158 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=c65bb34f8bedfbbca0b316c490cd13a0, sha256 locally computed.
md5 c65bb34f8bedfbbca0b316c490cd13a0 netaddr-0.7.18.tar.gz
sha256 a1f5c9fcf75ac2579b9995c843dade33009543c04f218ff7c007b3c81695bd19 netaddr-0.7.18.tar.gz
|
shibajee/buildroot
|
package/python-netaddr/python-netaddr.hash
|
hash
|
mit
| 278 |
################################################################################
#
# python-netaddr
#
################################################################################
PYTHON_NETADDR_VERSION = 0.7.18
PYTHON_NETADDR_SOURCE = netaddr-$(PYTHON_NETADDR_VERSION).tar.gz
PYTHON_NETADDR_SITE = http://pypi.python.org/packages/source/n/netaddr
PYTHON_NETADDR_LICENSE = BSD-3c
PYTHON_NETADDR_LICENSE_FILES = LICENSE
PYTHON_NETADDR_SETUP_TYPE = distutils
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-netaddr/python-netaddr.mk
|
mk
|
mit
| 488 |
config BR2_PACKAGE_PYTHON_NETIFACES
bool "python-netifaces"
help
Portable access to network interfaces from Python.
http://alastairs-place.net/projects/netifaces
|
shibajee/buildroot
|
package/python-netifaces/Config.in
|
in
|
mit
| 171 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=36da76e2cfadd24cc7510c2c0012eb1e, sha256 locally computed
md5 36da76e2cfadd24cc7510c2c0012eb1e netifaces-0.10.4.tar.gz
sha256 9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde netifaces-0.10.4.tar.gz
|
shibajee/buildroot
|
package/python-netifaces/python-netifaces.hash
|
hash
|
mit
| 318 |
################################################################################
#
# python-netifaces
#
################################################################################
PYTHON_NETIFACES_VERSION = 0.10.4
PYTHON_NETIFACES_SOURCE = netifaces-$(PYTHON_NETIFACES_VERSION).tar.gz
PYTHON_NETIFACES_SITE = https://pypi.python.org/packages/source/n/netifaces
PYTHON_NETIFACES_LICENSE = MIT
PYTHON_NETIFACES_LICENSE_FILES = README.rst
PYTHON_NETIFACES_SETUP_TYPE = setuptools
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-netifaces/python-netifaces.mk
|
mk
|
mit
| 510 |
config BR2_PACKAGE_PYTHON_NETWORKMANAGER
bool "python-networkmanager"
depends on BR2_PACKAGE_NETWORK_MANAGER # runtime
depends on BR2_USE_WCHAR # dbus-python
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-python
depends on BR2_PACKAGE_DBUS # dbus-python
select BR2_PACKAGE_DBUS_PYTHON
help
python-networkmanager wraps NetworkManagers D-Bus interface
so you can be less verbose when talking to NetworkManager
from python. All interfaces have been wrapped in classes,
properties are exposed as python properties and function
calls are forwarded to the correct interface.
https://pypi.python.org/pypi/python-networkmanager/
|
shibajee/buildroot
|
package/python-networkmanager/Config.in
|
in
|
mit
| 644 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=d7f0337b8e58c193c574ceae984cc65f, sha256 locally computed
md5 d7f0337b8e58c193c574ceae984cc65f python-networkmanager-1.0.1.tar.gz
sha256 6eb4073a0d6572fe0bba8cbfe8423f6a8a51c4504a33e0eb4f1b1eadf54c4cee python-networkmanager-1.0.1.tar.gz
|
shibajee/buildroot
|
package/python-networkmanager/python-networkmanager.hash
|
hash
|
mit
| 303 |
################################################################################
#
# python-networkmanager
#
################################################################################
PYTHON_NETWORKMANAGER_VERSION = 1.0.1
PYTHON_NETWORKMANAGER_SITE = http://pypi.python.org/packages/source/p/python-networkmanager
PYTHON_NETWORKMANAGER_SETUP_TYPE = distutils
PYTHON_NETWORKMANAGER_LICENSE = GPLv3+
PYTHON_NETWORKMANAGER_LICENSE_FILES = COPYING
PYTHON_NETWORKMANAGER_DEPENDENCIES = dbus-python
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-networkmanager/python-networkmanager.mk
|
mk
|
mit
| 527 |
Add simple setup.py
Having a setup.py allows to easily get the .py files compiled into
.pyc, which is good because by default, Buildroot only keeps .pyc
files on the target.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/setup.py
===================================================================
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+setup(name='NFC',
+ version='1.0',
+ description='Python NFC',
+ author='Stephen Tiedemann',
+ author_email='stephen.tiedemann@googlemail.com',
+ url='https://launchpad.net/nfcpy',
+ packages=['nfc', 'nfc/dev', 'nfc/llcp', 'nfc/ndef',
+ 'nfc/snep'],
+ )
|
shibajee/buildroot
|
package/python-nfc/0001-add-setup-py.patch
|
patch
|
mit
| 745 |
config BR2_PACKAGE_PYTHON_NFC
bool "python-nfc"
depends on BR2_PACKAGE_PYTHON
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
Python module for near field communication.
https://launchpad.net/nfcpy
comment "python-nfc needs a toolchain w/ threads"
depends on BR2_PACKAGE_PYTHON
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/python-nfc/Config.in
|
in
|
mit
| 394 |
################################################################################
#
# python-nfc
#
################################################################################
PYTHON_NFC_VERSION = 212
PYTHON_NFC_SITE = https://launchpad.net/nfcpy
PYTHON_NFC_SITE_METHOD = bzr
PYTHON_NFC_DEPENDENCIES = libusb libusb-compat
PYTHON_NFC_SETUP_TYPE = distutils
PYTHON_NFC_LICENSE = EUPLv1.1+
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-nfc/python-nfc.mk
|
mk
|
mit
| 419 |
Don't use <fenv.h> on uClibc
The python-numpy code already has provisions to not use <fenv.h> when
not available. However, it uses __GLIBC__ to know whether fenv.h is
available or not, but uClibc defines __GLIBC__, so python-numpy thinks
fenv.h is available.
This patch fixes that by changing all defined(__GLIBC__) occurences by
(defined(__GLIBC__) && !defined(__UCLIBC__)).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/numpy/core/include/numpy/ufuncobject.h
===================================================================
--- a/numpy/core/include/numpy/ufuncobject.h
+++ b/numpy/core/include/numpy/ufuncobject.h
@@ -413,11 +413,11 @@
(void) fpsetsticky(0); \
}
-#elif defined(__GLIBC__) || defined(__APPLE__) || \
+#elif (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__APPLE__) || \
defined(__CYGWIN__) || defined(__MINGW32__) || \
(defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
-#if defined(__GLIBC__) || defined(__APPLE__) || \
+#if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__APPLE__) || \
defined(__MINGW32__) || defined(__FreeBSD__)
#include <fenv.h>
#elif defined(__CYGWIN__)
Index: b/numpy/core/src/npymath/ieee754.c.src
===================================================================
--- a/numpy/core/src/npymath/ieee754.c.src
+++ b/numpy/core/src/npymath/ieee754.c.src
@@ -586,11 +586,11 @@
}
-#elif defined(__GLIBC__) || defined(__APPLE__) || \
+#elif (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__APPLE__) || \
defined(__CYGWIN__) || defined(__MINGW32__) || \
(defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
-# if defined(__GLIBC__) || defined(__APPLE__) || \
+# if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__APPLE__) || \
defined(__MINGW32__) || defined(__FreeBSD__)
# include <fenv.h>
# elif defined(__CYGWIN__)
Index: b/numpy/numarray/_capi.c
===================================================================
--- a/numpy/numarray/_capi.c
+++ b/numpy/numarray/_capi.c
@@ -10,7 +10,7 @@
#include <sys/param.h>
#endif
-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
+#if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__APPLE__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
#include <fenv.h>
#elif defined(__CYGWIN__)
#include "numpy/fenv/fenv.h"
@@ -258,7 +258,7 @@
}
/* Likewise for Integer overflows */
-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
+#if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
static int int_overflow_error(Float64 value) { /* For x86_64 */
feraiseexcept(FE_OVERFLOW);
return (int) value;
@@ -3007,7 +3007,7 @@
return retstatus;
}
-#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
+#elif (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
static int
NA_checkFPErrors(void)
|
shibajee/buildroot
|
package/python-numpy/0001-no-fenv-on-uclibc.patch
|
patch
|
mit
| 3,422 |
From b0a1b9628d17251bb417a063ec6c6e09f32393c2 Mon Sep 17 00:00:00 2001
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Date: Tue, 6 Oct 2015 01:20:48 +0100
Subject: [PATCH] Don't blindly enable frexpl and ldexpl for uClibc
When the size of double and long double are equal, numpy blindly
assumes that frexpl and ldexpl will be available as well. But for
uClibc, that's not true: it only defines the long double functions
when long double "exists" on the architecture.
So make an exception for uClibc.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
numpy/core/src/private/npy_config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h
index 453dbd0..7ecf72c 100644
--- a/numpy/core/src/private/npy_config.h
+++ b/numpy/core/src/private/npy_config.h
@@ -11,7 +11,7 @@
#endif
/* Safe to use ldexp and frexp for long double for MSVC builds */
-#if (NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE) || defined(_MSC_VER)
+#if ((NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE) && !defined(__UCLIBC__)) || defined(_MSC_VER)
#ifdef HAVE_LDEXP
#define HAVE_LDEXPL 1
#endif
--
2.5.3
|
shibajee/buildroot
|
package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch
|
patch
|
mit
| 1,226 |
config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
bool
# Numpy has some CPU specific code
default y if BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
|| BR2_sh || BR2_x86_64
config BR2_PACKAGE_PYTHON_NUMPY
bool "python-numpy"
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
help
NumPy is the fundamental package for scientific computing
with Python.
Note that NumPy needs fenv.h fully supported by the
C library.
http://www.numpy.org/
|
shibajee/buildroot
|
package/python-numpy/Config.in
|
in
|
mit
| 524 |
# Locally computed:
sha256 2764d0819acc77e9ff81b060fe7f69530b0d85c26ac9d162639b787cb227d253 numpy-1.8.0.tar.gz
|
shibajee/buildroot
|
package/python-numpy/python-numpy.hash
|
hash
|
mit
| 113 |
################################################################################
#
# python-numpy
#
################################################################################
PYTHON_NUMPY_VERSION = 1.8.0
PYTHON_NUMPY_SOURCE = numpy-$(PYTHON_NUMPY_VERSION).tar.gz
PYTHON_NUMPY_SITE = http://downloads.sourceforge.net/numpy
PYTHON_NUMPY_LICENSE = BSD-3c
PYTHON_NUMPY_LICENSE_FILES = LICENSE.txt
PYTHON_NUMPY_SETUP_TYPE = distutils
ifeq ($(BR2_PACKAGE_CLAPACK),y)
PYTHON_NUMPY_DEPENDENCIES += clapack
PYTHON_NUMPY_SITE_CFG_LIBS += blas lapack
endif
PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None
define PYTHON_NUMPY_CONFIGURE_CMDS
-rm -f $(@D)/site.cfg
echo "[DEFAULT]" >> $(@D)/site.cfg
echo "library_dirs = $(STAGING_DIR)/usr/lib" >> $(@D)/site.cfg
echo "include_dirs = $(STAGING_DIR)/usr/include" >> $(@D)/site.cfg
echo "libraries =" $(subst $(space),$(comma),$(PYTHON_NUMPY_SITE_CFG_LIBS)) >> $(@D)/site.cfg
endef
# Some package may include few headers from NumPy, so let's install it
# in the staging area.
PYTHON_NUMPY_INSTALL_STAGING = YES
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-numpy/python-numpy.mk
|
mk
|
mit
| 1,083 |
config BR2_PACKAGE_PYTHON_PAHO_MQTT
bool "python-paho-mqtt"
help
The Paho Python Client provides a client class with support
for both MQTT v3.1 and v3.1.1 on Python 2.7 or 3.x. It also
provides some helper functions to make publishing messages
to an MQTT server very straightforward.
https://pypi.python.org/pypi/paho-mqtt
|
shibajee/buildroot
|
package/python-paho-mqtt/Config.in
|
in
|
mit
| 341 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=a6407b74eb5e5411e157be1de5c11366, sha256 locally computed
md5 a6407b74eb5e5411e157be1de5c11366 paho-mqtt-1.1.tar.gz
sha256 0f7a629efe6e3a2c61b59d3550aa9f2c4529b5689a65fde45e6f1ac36b9a261e paho-mqtt-1.1.tar.gz
|
shibajee/buildroot
|
package/python-paho-mqtt/python-paho-mqtt.hash
|
hash
|
mit
| 280 |
################################################################################
#
# python-paho-mqtt
#
################################################################################
PYTHON_PAHO_MQTT_VERSION = 1.1
PYTHON_PAHO_MQTT_SOURCE = paho-mqtt-$(PYTHON_PAHO_MQTT_VERSION).tar.gz
PYTHON_PAHO_MQTT_SITE = https://pypi.python.org/packages/source/p/paho-mqtt
PYTHON_PAHO_MQTT_LICENSE = EPLv1.0 or EDLv1.0
PYTHON_PAHO_MQTT_LICENSE_FILES = LICENSE.txt edl-v10 epl-v10
PYTHON_PAHO_MQTT_SETUP_TYPE = distutils
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-paho-mqtt/python-paho-mqtt.mk
|
mk
|
mit
| 538 |
[PATCH] fix two bugs in the PAM object deallocation
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=658955
Downloaded from:
http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-dealloc.patch
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
diff -up PyPAM-0.5.0/PAMmodule.c.dealloc PyPAM-0.5.0/PAMmodule.c
--- PyPAM-0.5.0/PAMmodule.c.dealloc 2011-01-17 22:48:22.000000000 +0100
+++ PyPAM-0.5.0/PAMmodule.c 2011-01-18 21:24:59.000000000 +0100
@@ -538,10 +538,11 @@ static void PyPAM_dealloc(PyPAMObject *s
free(self->service);
free(self->user);
free(self->conv);
- pam_end(self->pamh, PAM_SUCCESS);
+ if (self->pamh)
+ pam_end(self->pamh, PAM_SUCCESS);
dlclose(self->dlh2);
dlclose(self->dlh1);
- PyMem_DEL(self);
+ PyObject_Del(self);
}
static PyObject * PyPAM_getattr(PyPAMObject *self, char *name)
|
shibajee/buildroot
|
package/python-pam/0001-dealloc.patch
|
patch
|
mit
| 866 |
[PATCH] deallocate the conversation response only in case of error
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=679714
Downloaded from:
http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-nofree.patch
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
diff --git a/PAMmodule.c b/PAMmodule.c
index 03cb799..a7ff8a5 100644
--- a/PAMmodule.c
+++ b/PAMmodule.c
@@ -24,8 +24,6 @@ typedef struct {
char *service;
char *user;
PyObject *callback;
- struct pam_response *response_data;
- int response_len;
PyObject *user_data;
void *dlh1, *dlh2;
} PyPAMObject;
@@ -54,15 +52,6 @@ static int PyPAM_conv(int num_msg, const struct pam_message **msg,
Py_INCREF(self);
- if (NULL != self->response_data) {
- for (int i = 0; i < self->response_len; i++) {
- free(self->response_data[0].resp);
- }
- free(self->response_data);
- self->response_data = NULL;
- self->response_len = 0;
- }
-
PyObject* msgList = PyList_New(num_msg);
for (int i = 0; i < num_msg; i++) {
@@ -92,6 +81,10 @@ static int PyPAM_conv(int num_msg, const struct pam_message **msg,
char* resp_text;
int resp_retcode = 0;
if (!PyArg_ParseTuple(respTuple, "si", &resp_text, &resp_retcode)) {
+ while (i > 0) {
+ free((--spr)->resp);
+ --i;
+ }
free(*resp);
Py_DECREF(respList);
return PAM_CONV_ERR;
@@ -100,10 +93,6 @@ static int PyPAM_conv(int num_msg, const struct pam_message **msg,
spr->resp_retcode = resp_retcode;
Py_DECREF(respTuple);
}
-
- // Save this so we can free it later.
- self->response_data = *resp;
- self->response_len = PyList_Size(respList);
Py_DECREF(respList);
@@ -144,8 +133,6 @@ static PyObject * PyPAM_pam(PyObject *self, PyObject *args)
p->user = NULL;
Py_INCREF(Py_None);
p->callback = Py_None;
- p->response_data = NULL;
- p->response_len = 0;
Py_INCREF(Py_None);
p->user_data = Py_None;
|
shibajee/buildroot
|
package/python-pam/0002-nofree.patch
|
patch
|
mit
| 2,186 |
[PATCH] Fix Double Free Corruption (CVE2012-1502)
Downloaded from:
http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-memory-errors.patch
For details, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1502
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
diff -up PyPAM-0.5.0/PAMmodule.c.memory PyPAM-0.5.0/PAMmodule.c
--- PyPAM-0.5.0/PAMmodule.c.memory 2012-05-07 17:22:54.503914026 +0200
+++ PyPAM-0.5.0/PAMmodule.c 2012-05-07 17:23:15.644381942 +0200
@@ -37,33 +37,48 @@ static void PyPAM_Err(PyPAMObject *self,
err_msg = pam_strerror(self->pamh, result);
error = Py_BuildValue("(si)", err_msg, result);
- Py_INCREF(PyPAM_Error);
PyErr_SetObject(PyPAM_Error, error);
+ Py_XDECREF(error);
}
static int PyPAM_conv(int num_msg, const struct pam_message **msg,
struct pam_response **resp, void *appdata_ptr)
{
- PyObject *args;
-
+ PyObject *args, *msgList, *respList, *item;
+ struct pam_response *response, *spr;
PyPAMObject* self = (PyPAMObject *) appdata_ptr;
+
if (self->callback == NULL)
return PAM_CONV_ERR;
Py_INCREF(self);
- PyObject* msgList = PyList_New(num_msg);
-
+ msgList = PyList_New(num_msg);
+ if (msgList == NULL) {
+ Py_DECREF(self);
+ return PAM_CONV_ERR;
+ }
+
for (int i = 0; i < num_msg; i++) {
- PyList_SetItem(msgList, i,
- Py_BuildValue("(si)", msg[i]->msg, msg[i]->msg_style));
+ item = Py_BuildValue("(si)", msg[i]->msg, msg[i]->msg_style);
+ if (item == NULL) {
+ Py_DECREF(msgList);
+ Py_DECREF(self);
+ return PAM_CONV_ERR;
+ }
+ PyList_SetItem(msgList, i, item);
}
-
+
args = Py_BuildValue("(OO)", self, msgList);
- PyObject* respList = PyEval_CallObject(self->callback, args);
+ if (args == NULL) {
+ Py_DECREF(self);
+ Py_DECREF(msgList);
+ return PAM_CONV_ERR;
+ }
+ respList = PyEval_CallObject(self->callback, args);
Py_DECREF(args);
Py_DECREF(self);
-
+
if (respList == NULL)
return PAM_CONV_ERR;
@@ -71,11 +86,15 @@ static int PyPAM_conv(int num_msg, const
Py_DECREF(respList);
return PAM_CONV_ERR;
}
-
- *resp = (struct pam_response *) malloc(
+
+ response = (struct pam_response *) malloc(
PyList_Size(respList) * sizeof(struct pam_response));
+ if (response == NULL) {
+ Py_DECREF(respList);
+ return PAM_CONV_ERR;
+ }
+ spr = response;
- struct pam_response* spr = *resp;
for (int i = 0; i < PyList_Size(respList); i++, spr++) {
PyObject* respTuple = PyList_GetItem(respList, i);
char* resp_text;
@@ -85,7 +104,7 @@ static int PyPAM_conv(int num_msg, const
free((--spr)->resp);
--i;
}
- free(*resp);
+ free(response);
Py_DECREF(respList);
return PAM_CONV_ERR;
}
@@ -95,7 +114,8 @@ static int PyPAM_conv(int num_msg, const
}
Py_DECREF(respList);
-
+ *resp = response;
+
return PAM_SUCCESS;
}
@@ -122,7 +142,11 @@ static PyObject * PyPAM_pam(PyObject *se
PyPAMObject_Type.ob_type = &PyType_Type;
p = (PyPAMObject *) PyObject_NEW(PyPAMObject, &PyPAMObject_Type);
+ if (p == NULL)
+ return NULL;
+
if ((spc = (struct pam_conv *) malloc(sizeof(struct pam_conv))) == NULL) {
+ Py_DECREF((PyObject *)p);
PyErr_SetString(PyExc_MemoryError, "out of memory");
return NULL;
}
@@ -455,9 +479,15 @@ static PyObject * PyPAM_getenvlist(PyObj
}
retval = PyList_New(0);
+ if (retval == NULL)
+ return NULL;
while ((cp = *(result++)) != NULL) {
entry = Py_BuildValue("s", cp);
+ if (entry == NULL) {
+ Py_DECREF(retval);
+ return NULL;
+ }
PyList_Append(retval, entry);
Py_DECREF(entry);
}
|
shibajee/buildroot
|
package/python-pam/0003-memory-errors-CVE2012-1502.patch
|
patch
|
mit
| 3,993 |
comment "python-pam needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
depends on BR2_PACKAGE_PYTHON
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
BR2_TOOLCHAIN_USES_MUSL
config BR2_PACKAGE_PYTHON_PAM
bool "python-pam"
depends on BR2_PACKAGE_PYTHON # C extension not compatible with python3
depends on BR2_ENABLE_LOCALE # linux-pam
depends on BR2_USE_WCHAR # linux-pam
depends on BR2_USE_MMU # linux-pam
depends on !BR2_STATIC_LIBS # linux-pam
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
select BR2_PACKAGE_LINUX_PAM
help
PAM (Pluggable Authentication Module) bindings for Python.
https://admin.fedoraproject.org/pkgdb/package/PyPAM/
|
shibajee/buildroot
|
package/python-pam/Config.in
|
in
|
mit
| 703 |
# locally computed
sha256 796ac019b9ee805696d0d277d8fb912fa2391b6ac070dc6f9f1a9a0fadbc3a5a PyPAM-0.5.0.tar.gz
|
shibajee/buildroot
|
package/python-pam/python-pam.hash
|
hash
|
mit
| 112 |
################################################################################
#
# python-pam
#
################################################################################
PYTHON_PAM_VERSION = 0.5.0
PYTHON_PAM_SOURCE = PyPAM-$(PYTHON_PAM_VERSION).tar.gz
# pangalactic.org gone
PYTHON_PAM_SITE = http://pkgs.fedoraproject.org/repo/pkgs/PyPAM/PyPAM-0.5.0.tar.gz/f1e7c2c56421dda28a75ace59a3c8871
PYTHON_PAM_SETUP_TYPE = distutils
PYTHON_PAM_LICENSE = LGPLv2.1
PYTHON_PAM_LICENSE_FILES = COPYING
PYTHON_PAM_DEPENDENCIES = linux-pam
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pam/python-pam.mk
|
mk
|
mit
| 563 |
config BR2_PACKAGE_PYTHON_PARAMIKO
bool "python-paramiko"
select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON_PYCRYPTO # runtime
select BR2_PACKAGE_PYTHON_ECDSA # runtime
help
SSH2 protocol library.
https://github.com/paramiko/paramiko/
|
shibajee/buildroot
|
package/python-paramiko/Config.in
|
in
|
mit
| 352 |
# md5 from https://pypi.python.org/pypi/paramiko/json
md5 7e1203f5ffeb7d2bc2bffc4feb804216 paramiko-1.16.0.tar.gz
# sha256 calculated by scanpypi
sha256 3297ebd3cd072f573772f7c7426939a443c62c458d54bb632ff30fd6ecf96892 paramiko-1.16.0.tar.gz
|
shibajee/buildroot
|
package/python-paramiko/python-paramiko.hash
|
hash
|
mit
| 243 |
################################################################################
#
# python-paramiko
#
################################################################################
PYTHON_PARAMIKO_VERSION = 1.16.0
PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz
PYTHON_PARAMIKO_SITE = https://pypi.python.org/packages/source/p/paramiko
PYTHON_PARAMIKO_SETUP_TYPE = setuptools
PYTHON_PARAMIKO_LICENSE = LGPLv2.1+
PYTHON_PARAMIKO_LICENSE_FILES = LICENSE
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-paramiko/python-paramiko.mk
|
mk
|
mit
| 503 |
config BR2_PACKAGE_PYTHON_PATHTOOLS
bool "python-pathtools"
help
File system general utilities.
http://github.com/gorakhargosh/pathtools
|
shibajee/buildroot
|
package/python-pathtools/Config.in
|
in
|
mit
| 146 |
# md5 from https://pypi.python.org/pypi/pathtools/json
md5 9a1af5c605768ea5804b03b734ff0f82 pathtools-0.1.2.tar.gz
# sha256 calculated by scanpypi
sha256 7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0 pathtools-0.1.2.tar.gz
|
shibajee/buildroot
|
package/python-pathtools/python-pathtools.hash
|
hash
|
mit
| 244 |
################################################################################
#
# python-pathtools
#
################################################################################
PYTHON_PATHTOOLS_VERSION = 0.1.2
PYTHON_PATHTOOLS_SOURCE = pathtools-$(PYTHON_PATHTOOLS_VERSION).tar.gz
PYTHON_PATHTOOLS_SITE = https://pypi.python.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a
PYTHON_PATHTOOLS_SETUP_TYPE = setuptools
PYTHON_PATHTOOLS_LICENSE = MIT
PYTHON_PATHTOOLS_LICENSE_FILES = LICENSE
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pathtools/python-pathtools.mk
|
mk
|
mit
| 554 |
config BR2_PACKAGE_PYTHON_PATHVALIDATE
bool "python-pathvalidate"
select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime
help
pathvalidate is a python library to validate/sanitize a string
such as filename/variable-name.
https://github.com/thombashi/pathvalidate
|
shibajee/buildroot
|
package/python-pathvalidate/Config.in
|
in
|
mit
| 270 |
# md5 from https://pypi.python.org/pypi/pathvalidate/json
md5 d3d89abc6c053b4182be29c23beccf26 pathvalidate-0.4.2.tar.gz
# sha256 calculated locally
sha256 4316cf5f862b70efd7792b98f46871592b80924840da69a28df1921d7702fcf9 pathvalidate-0.4.2.tar.gz
|
shibajee/buildroot
|
package/python-pathvalidate/python-pathvalidate.hash
|
hash
|
mit
| 249 |
################################################################################
#
# python-pathvalidate
#
################################################################################
PYTHON_PATHVALIDATE_VERSION = 0.4.2
PYTHON_PATHVALIDATE_SOURCE = pathvalidate-$(PYTHON_PATHVALIDATE_VERSION).tar.gz
PYTHON_PATHVALIDATE_SITE = https://pypi.python.org/packages/fd/b9/726269557d5846f253f7ecec483d801582a27b77852a76e2dc9c61dba2b6
PYTHON_PATHVALIDATE_SETUP_TYPE = setuptools
PYTHON_PATHVALIDATE_LICENSE = MIT
PYTHON_PATHVALIDATE_LICENSE_FILES = LICENSE
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pathvalidate/python-pathvalidate.mk
|
mk
|
mit
| 581 |
config BR2_PACKAGE_PYTHON_PEXPECT
bool "python-pexpect"
select BR2_PACKAGE_PYTHON_PTYPROCESS # runtime
help
Pexpect is a pure Python module for spawning child
applications; controlling them; and responding to expected
patterns in their output. Pexpect works like Don Libes’
Expect. Pexpect allows your script to spawn a child
application and control it as if a human were typing
commands.
https://pexpect.readthedocs.org
|
shibajee/buildroot
|
package/python-pexpect/Config.in
|
in
|
mit
| 448 |
# md5 from https://pypi.python.org, sha256 locally computed
md5 056df81e6ca7081f1015b4b147b977b7 pexpect-4.0.1.tar.gz
sha256 232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c pexpect-4.0.1.tar.gz
|
shibajee/buildroot
|
package/python-pexpect/python-pexpect.hash
|
hash
|
mit
| 211 |
################################################################################
#
# python-pexpect
#
################################################################################
PYTHON_PEXPECT_VERSION = 4.0.1
PYTHON_PEXPECT_SITE = https://pypi.python.org/packages/source/p/pexpect
PYTHON_PEXPECT_SOURCE = pexpect-$(PYTHON_PEXPECT_VERSION).tar.gz
PYTHON_PEXPECT_LICENSE = ISC
PYTHON_PEXPECT_LICENSE_FILES = LICENSE
PYTHON_PEXPECT_SETUP_TYPE = distutils
# async.py is not usable with Python 2, and removing is the solution
# recommended by upstream:
# https://github.com/pexpect/pexpect/issues/290
ifeq ($(BR2_PACKAGE_PYTHON),y)
define PYTHON_PEXPECT_REMOVE_ASYNC_PY
$(RM) $(@D)/pexpect/async.py
endef
PYTHON_PEXPECT_POST_PATCH_HOOKS += PYTHON_PEXPECT_REMOVE_ASYNC_PY
endif
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pexpect/python-pexpect.mk
|
mk
|
mit
| 807 |
config BR2_PACKAGE_PYTHON_PILLOW
bool "python-pillow"
help
Pillow is the "friendly" PIL fork by Alex Clark and
Contributors. PIL is the Python Imaging Library by Fredrik
Lundh and Contributors.
Pillow relies on external libraries to provide support
various image formats. Select the corresponding package(s)
to get this support. Pillow can use jpeg, zlib (for PNG),
tiff, freetype, webp, and openjpeg (JPEG-2000).
https://pypi.python.org/pypi/Pillow/
|
shibajee/buildroot
|
package/python-pillow/Config.in
|
in
|
mit
| 479 |
# https://pypi.python.org/pypi?:action=show_md5&digest=b5a15b03bf402fe254636c015fcf04da
md5 b5a15b03bf402fe254636c015fcf04da Pillow-3.3.0.tar.gz
# sha256 locally computed
sha256 031e7c9c885a4f343d1ad366c7fd2340449dc70318acb4a28d6411994f0accd1 Pillow-3.3.0.tar.gz
|
shibajee/buildroot
|
package/python-pillow/python-pillow.hash
|
hash
|
mit
| 265 |
################################################################################
#
# python-pillow
#
################################################################################
PYTHON_PILLOW_VERSION = 3.3.0
PYTHON_PILLOW_SOURCE = Pillow-$(PYTHON_PILLOW_VERSION).tar.gz
PYTHON_PILLOW_SITE = https://pypi.python.org/packages/e0/27/f61098a12f14690689924de93ffdd101463083a80bf8ff3e0c218addf05b
PYTHON_PILLOW_LICENSE = PIL Software License
PYTHON_PILLOW_LICENSE_FILES = LICENSE
PYTHON_PILLOW_SETUP_TYPE = setuptools
PYTHON_PILLOW_BUILD_OPTS = --disable-platform-guessing
ifeq ($(BR2_PACKAGE_FREETYPE),y)
PYTHON_PILLOW_DEPENDENCIES += freetype
PYTHON_PILLOW_BUILD_OPTS += --enable-freetype
else
PYTHON_PILLOW_BUILD_OPTS += --disable-freetype
endif
ifeq ($(BR2_PACKAGE_JPEG),y)
PYTHON_PILLOW_DEPENDENCIES += jpeg
PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg
else
PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg
endif
ifeq ($(BR2_PACKAGE_OPENJPEG),y)
PYTHON_PILLOW_DEPENDENCIES += openjpeg
PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000
else
PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000
endif
ifeq ($(BR2_PACKAGE_TIFF),y)
PYTHON_PILLOW_DEPENDENCIES += tiff
PYTHON_PILLOW_BUILD_OPTS += --enable-tiff
else
PYTHON_PILLOW_BUILD_OPTS += --disable-tiff
endif
ifeq ($(BR2_PACKAGE_WEBP),y)
PYTHON_PILLOW_DEPENDENCIES += webp
PYTHON_PILLOW_BUILD_OPTS += --enable-webp
else
PYTHON_PILLOW_BUILD_OPTS += --disable-webp
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
PYTHON_PILLOW_DEPENDENCIES += zlib
PYTHON_PILLOW_BUILD_OPTS += --enable-zlib
else
PYTHON_PILLOW_BUILD_OPTS += --disable-zlib
endif
define PYTHON_PILLOW_BUILD_CMDS
cd $(PYTHON_PILLOW_BUILDDIR); \
$(PYTHON_PILLOW_BASE_ENV) $(PYTHON_PILLOW_ENV) \
$(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \
$(PYTHON_PILLOW_BASE_BUILD_OPTS) $(PYTHON_PILLOW_BUILD_OPTS)
endef
define PYTHON_PILLOW_INSTALL_TARGET_CMDS
cd $(PYTHON_PILLOW_BUILDDIR); \
$(PYTHON_PILLOW_BASE_ENV) $(PYTHON_PILLOW_ENV) \
$(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \
$(PYTHON_PILLOW_BUILD_OPTS) install \
$(PYTHON_PILLOW_BASE_INSTALL_TARGET_OPTS) \
$(PYTHON_PILLOW_INSTALL_TARGET_OPTS)
endef
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pillow/python-pillow.mk
|
mk
|
mit
| 2,158 |
config BR2_PACKAGE_PYTHON_POSIX_IPC
bool "python-posix-ipc"
depends on BR2_PACKAGE_PYTHON
depends on BR2_TOOLCHAIN_HAS_THREADS
help
The Python extension module posix_ipc gives access to POSIX
inter-process semaphores, shared memory and message queues
on systems that support the POSIX Realtime Extensions
a.k.a. POSIX 1003.1b-1993.
http://semanchuk.com/philip/posix_ipc/
comment "python-posix-ipc needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/python-posix-ipc/Config.in
|
in
|
mit
| 487 |
# locally computed
sha256 24e092ba995122869a2fca46a2579b1b2824cfdcb2ecc6938e2923a120460646 posix_ipc-0.9.6.tar.gz
|
shibajee/buildroot
|
package/python-posix-ipc/python-posix-ipc.hash
|
hash
|
mit
| 116 |
################################################################################
#
# python-posix-ipc
#
################################################################################
PYTHON_POSIX_IPC_VERSION = 0.9.6
PYTHON_POSIX_IPC_SOURCE = posix_ipc-$(PYTHON_POSIX_IPC_VERSION).tar.gz
PYTHON_POSIX_IPC_SITE = http://semanchuk.com/philip/posix_ipc
PYTHON_POSIX_IPC_LICENSE = BSD-3c
PYTHON_POSIX_IPC_LICENSE_FILES = LICENSE
PYTHON_POSIX_IPC_SETUP_TYPE = distutils
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-posix-ipc/python-posix-ipc.mk
|
mk
|
mit
| 494 |
config BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT
bool "python-prompt-toolkit"
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_WCWIDTH # runtime
help
Library for building powerful interactive command lines in
Python.
https://github.com/jonathanslenders/python-prompt-toolkit
|
shibajee/buildroot
|
package/python-prompt-toolkit/Config.in
|
in
|
mit
| 298 |
# md5 from https://pypi.python.org/pypi/prompt_toolkit/json, sha256 locally computed
md5 6c4133d099603f496c761491043bf0ef prompt_toolkit-1.0.3.tar.gz
sha256 805e026f0cbad27467e93f9dd3e3777718d401a62788c1e84ca038e967ad8ba2 prompt_toolkit-1.0.3.tar.gz
|
shibajee/buildroot
|
package/python-prompt-toolkit/python-prompt-toolkit.hash
|
hash
|
mit
| 252 |
################################################################################
#
# python-prompt-toolkit
#
################################################################################
PYTHON_PROMPT_TOOLKIT_VERSION = 1.0.3
PYTHON_PROMPT_TOOLKIT_SOURCE = prompt_toolkit-$(PYTHON_PROMPT_TOOLKIT_VERSION).tar.gz
PYTHON_PROMPT_TOOLKIT_SITE = https://pypi.python.org/packages/8d/de/412f23919929c01e6b55183e124623f705e4b91796d3d2dce2cb53d595ad
PYTHON_PROMPT_TOOLKIT_SETUP_TYPE = setuptools
PYTHON_PROMPT_TOOLKIT_LICENSE = BSD-3c
PYTHON_PROMPT_TOOLKIT_LICENSE_FILES = LICENSE
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-prompt-toolkit/python-prompt-toolkit.mk
|
mk
|
mit
| 602 |
From 7e7db7225e227905acabfa2149152ece21c93e70 Mon Sep 17 00:00:00 2001
From: Steven Noonan <steven@uplinklabs.net>
Date: Sun, 8 Nov 2015 09:03:00 -0800
Subject: [PATCH] python-protobuf: don't require google-apputils
This dependency is totally superfluous for successfully building/running
python-protobuf. It's only "required" at build time and is not staged into the
install directory, but it isn't even really required for a successful build.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
python/setup.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/python/setup.py b/python/setup.py
index 2450a77..db6f497 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -160,7 +160,6 @@ if __name__ == '__main__':
packages = [ 'google' ],
namespace_packages = [ 'google' ],
test_suite = 'setup.MakeTestSuite',
- google_test_dir = "google/protobuf/internal",
# Must list modules explicitly so that we don't install tests.
py_modules = [
'google.protobuf.internal.api_implementation',
@@ -189,7 +188,6 @@ if __name__ == '__main__':
'google.protobuf.text_format'],
cmdclass = { 'clean': clean, 'build_py': build_py },
install_requires = ['setuptools'],
- setup_requires = ['google-apputils'],
ext_modules = ext_module_list,
url = 'https://developers.google.com/protocol-buffers/',
maintainer = maintainer_email,
--
2.6.2
|
shibajee/buildroot
|
package/python-protobuf/0001-disable-unneeded-build-dependencies.patch
|
patch
|
mit
| 1,461 |
config BR2_PACKAGE_PYTHON_PROTOBUF
bool "python-protobuf"
depends on BR2_PACKAGE_PYTHON
# host-protobuf only builds on certain architectures
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
help
Python implementation of the Google Protocol Buffers.
Protocol buffers are Google's language-neutral, platform-neutral,
extensible mechanism for serializing structured data.
http://code.google.com/p/protobuf/
|
shibajee/buildroot
|
package/python-protobuf/Config.in
|
in
|
mit
| 433 |
# locally computed
sha256 2667b7cda4a6bc8a09e5463adf3b5984e08d94e72338277affa8594d8b6e5cd1 protobuf-v2.6.1.tar.gz
|
shibajee/buildroot
|
package/python-protobuf/python-protobuf.hash
|
hash
|
mit
| 116 |
################################################################################
#
# python-protobuf
#
################################################################################
PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
PYTHON_PROTOBUF_SOURCE = $(PROTOBUF_SOURCE)
PYTHON_PROTOBUF_SITE = $(PROTOBUF_SITE)
PYTHON_PROTOBUF_LICENSE = BSD-3c
PYTHON_PROTOBUF_LICENSE_FILES = LICENSE
PYTHON_PROTOBUF_DEPENDENCIES = host-protobuf
PYTHON_PROTOBUF_SETUP_TYPE = setuptools
PYTHON_PROTOBUF_SUBDIR = python
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-protobuf/python-protobuf.mk
|
mk
|
mit
| 532 |
config BR2_PACKAGE_PYTHON_PSUTIL
bool "python-psutil"
help
psutil is a cross-platform library for retrieving
information on running processes and system utilization
(CPU, memory, disks, network) in Python.
https://pypi.python.org/pypi/psutil
|
shibajee/buildroot
|
package/python-psutil/Config.in
|
in
|
mit
| 257 |
# md5 from https://pypi.python.org/pypi/psutil/json, sha256 locally computed
md5 ca97cf5f09c07b075a12a68b9d44a67d psutil-4.3.0.tar.gz
sha256 86197ae5978f216d33bfff4383d5cc0b80f079d09cf45a2a406d1abb5d0299f0 psutil-4.3.0.tar.gz
|
shibajee/buildroot
|
package/python-psutil/python-psutil.hash
|
hash
|
mit
| 229 |
################################################################################
#
# python-psutil
#
################################################################################
PYTHON_PSUTIL_VERSION = 4.3.0
PYTHON_PSUTIL_SOURCE = psutil-$(PYTHON_PSUTIL_VERSION).tar.gz
PYTHON_PSUTIL_SITE = https://pypi.python.org/packages/22/a8/6ab3f0b3b74a36104785808ec874d24203c6a511ffd2732dd215cf32d689
PYTHON_PSUTIL_SETUP_TYPE = setuptools
PYTHON_PSUTIL_LICENSE = BSD-3c
PYTHON_PSUTIL_LICENSE_FILES = LICENSE
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-psutil/python-psutil.mk
|
mk
|
mit
| 530 |
config BR2_PACKAGE_PYTHON_PTYPROCESS
bool "python-ptyprocess"
help
Launch a subprocess in a pseudo terminal (pty), and interact
with both the process and its pty.
https://github.com/pexpect/ptyprocess
|
shibajee/buildroot
|
package/python-ptyprocess/Config.in
|
in
|
mit
| 213 |
# md5 from https://pypi.python.org, sha256 locally computed
md5 94e537122914cc9ec9c1eadcd36e73a1 ptyprocess-0.5.1.tar.gz
sha256 0530ce63a9295bfae7bd06edc02b6aa935619f486f0f1dc0972f516265ee81a6 ptyprocess-0.5.1.tar.gz
|
shibajee/buildroot
|
package/python-ptyprocess/python-ptyprocess.hash
|
hash
|
mit
| 218 |
################################################################################
#
# python-ptyprocess
#
################################################################################
PYTHON_PTYPROCESS_VERSION = 0.5.1
PYTHON_PTYPROCESS_SITE = https://pypi.python.org/packages/source/p/ptyprocess
PYTHON_PTYPROCESS_SOURCE = ptyprocess-$(PYTHON_PTYPROCESS_VERSION).tar.gz
PYTHON_PTYPROCESS_LICENSE = ISC
PYTHON_PTYPROCESS_LICENSE_FILES = LICENSE
PYTHON_PTYPROCESS_SETUP_TYPE = distutils
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-ptyprocess/python-ptyprocess.mk
|
mk
|
mit
| 515 |
config BR2_PACKAGE_PYTHON_PYASN_MODULES
bool "python-pyasn-modules"
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_PYASN # runtime
help
A collection of ASN.1-based protocols modules.
https://pypi.python.org/pypi/pyasn1-modules
comment "python-pyasn-modules needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
|
shibajee/buildroot
|
package/python-pyasn-modules/Config.in
|
in
|
mit
| 335 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=178129bc7fbf07215c25230c5f053f81, sha256 locally computed.
md5 178129bc7fbf07215c25230c5f053f81 pyasn1-modules-0.0.8.tar.gz
sha256 10561934f1829bcc455c7ecdcdacdb4be5ffd3696f26f468eb6eb41e107f3837 pyasn1-modules-0.0.8.tar.gz
|
shibajee/buildroot
|
package/python-pyasn-modules/python-pyasn-modules.hash
|
hash
|
mit
| 290 |
################################################################################
#
# python-pyasn-modules
#
################################################################################
PYTHON_PYASN_MODULES_VERSION = 0.0.8
PYTHON_PYASN_MODULES_SOURCE = pyasn1-modules-$(PYTHON_PYASN_MODULES_VERSION).tar.gz
PYTHON_PYASN_MODULES_SITE = http://pypi.python.org/packages/source/p/pyasn1-modules
PYTHON_PYASN_MODULES_LICENSE = BSD-2c
PYTHON_PYASN_MODULES_LICENSE_FILES = LICENSE.txt
PYTHON_PYASN_MODULES_SETUP_TYPE = setuptools
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pyasn-modules/python-pyasn-modules.mk
|
mk
|
mit
| 554 |
config BR2_PACKAGE_PYTHON_PYASN
bool "python-pyasn"
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
help
PyASN is a Python extension module that enables you to
perform very fast IP address to Autonomous System Number
lookups.
https://code.google.com/p/pyasn/
comment "python-pyasn needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
|
shibajee/buildroot
|
package/python-pyasn/Config.in
|
in
|
mit
| 454 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=f00a02a631d4016818659d1cc38d229a, sha256 locally computed
md5 f00a02a631d4016818659d1cc38d229a pyasn1-0.1.9.tar.gz
sha256 853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f pyasn1-0.1.9.tar.gz
|
shibajee/buildroot
|
package/python-pyasn/python-pyasn.hash
|
hash
|
mit
| 278 |
################################################################################
#
# python-pyasn
#
################################################################################
PYTHON_PYASN_VERSION = 0.1.9
PYTHON_PYASN_SOURCE = pyasn1-$(PYTHON_PYASN_VERSION).tar.gz
PYTHON_PYASN_SITE = https://pypi.python.org/packages/source/p/pyasn1
PYTHON_PYASN_LICENSE = BSD-2c
PYTHON_PYASN_LICENSE_FILES = LICENSE.txt
PYTHON_PYASN_SETUP_TYPE = distutils
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pyasn/python-pyasn.mk
|
mk
|
mit
| 474 |
config BR2_PACKAGE_PYTHON_PYCLI
bool "python-pycli"
help
The cli package is a framework for making simple, correct
command line applications in Python.
https://pythonhosted.org/pyCLI/
|
shibajee/buildroot
|
package/python-pycli/Config.in
|
in
|
mit
| 196 |
# From https://pypi.python.org/pypi?:action=show_md5&digest=5cad880168f3423a1235b396735c1360
md5 5cad880168f3423a1235b396735c1360 pyCLI-devel.tar.gz
# Locally calculated
sha256 d7dc3245d79ef00ba5c0d6b008eb3d1a519c0df4cfa4467eee5160a80c6ddc0a pyCLI-devel.tar.gz
|
shibajee/buildroot
|
package/python-pycli/python-pycli.hash
|
hash
|
mit
| 261 |
################################################################################
#
# python-pycli
#
################################################################################
PYTHON_PYCLI_VERSION = devel
PYTHON_PYCLI_SOURCE = pyCLI-$(PYTHON_PYCLI_VERSION).tar.gz
PYTHON_PYCLI_SITE = https://pypi.python.org/packages/source/p/pyCLI
PYTHON_PYCLI_LICENSE = ISC-like
PYTHON_PYCLI_LICENSE_FILES = lib/cli/__init__.py
PYTHON_PYCLI_SETUP_TYPE = setuptools
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pycli/python-pycli.mk
|
mk
|
mit
| 483 |
config BR2_PACKAGE_PYTHON_PYCPARSER
bool "python-pycparser"
help
C parser in Python
https://github.com/eliben/pycparser
|
shibajee/buildroot
|
package/python-pycparser/Config.in
|
in
|
mit
| 129 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=a2bc8d28c923b4fe2b2c3b4b51a4f935, sha256 locally computed
md5 a2bc8d28c923b4fe2b2c3b4b51a4f935 pycparser-2.14.tar.gz
sha256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 pycparser-2.14.tar.gz
|
shibajee/buildroot
|
package/python-pycparser/python-pycparser.hash
|
hash
|
mit
| 282 |
################################################################################
#
# python-pycparser
#
################################################################################
PYTHON_PYCPARSER_VERSION = 2.14
PYTHON_PYCPARSER_SOURCE = pycparser-$(PYTHON_PYCPARSER_VERSION).tar.gz
PYTHON_PYCPARSER_SITE = https://pypi.python.org/packages/source/p/pycparser
PYTHON_PYCPARSER_SETUP_TYPE = setuptools
PYTHON_PYCPARSER_LICENSE = BSD-3c
PYTHON_PYCPARSER_LICENSE_FILES = LICENSE
$(eval $(python-package))
$(eval $(host-python-package))
|
shibajee/buildroot
|
package/python-pycparser/python-pycparser.mk
|
mk
|
mit
| 539 |
Do not use /usr/include for headers
Using /usr/include is wrong when doing cross-compilation, so get rid
of it, and rely on the compiler to use the appropriate default paths
for headers.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/setup.py
===================================================================
--- a/setup.py
+++ b/setup.py
@@ -370,7 +370,7 @@
'ext_modules': plat_ext + [
# _fastmath (uses GNU mp library)
Extension("Crypto.PublicKey._fastmath",
- include_dirs=['src/','/usr/include/'],
+ include_dirs=['src/'],
libraries=['gmp'],
sources=["src/_fastmath.c"]),
|
shibajee/buildroot
|
package/python-pycrypto/0001-remove-incorrect-header-path.patch
|
patch
|
mit
| 736 |
config BR2_PACKAGE_PYTHON_PYCRYPTO
bool "python-pycrypto"
select BR2_PACKAGE_GMP
help
PyCrypto is a collection of cryptographic algorithms and
protocols, implemented for use from Python.
http://www.pycrypto.org/
|
shibajee/buildroot
|
package/python-pycrypto/Config.in
|
in
|
mit
| 225 |
# Locally calculated after checking pgp signature
sha256 f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c pycrypto-2.6.1.tar.gz
|
shibajee/buildroot
|
package/python-pycrypto/python-pycrypto.hash
|
hash
|
mit
| 144 |
################################################################################
#
# python-pycrypto
#
################################################################################
PYTHON_PYCRYPTO_VERSION = 2.6.1
PYTHON_PYCRYPTO_SOURCE = pycrypto-$(PYTHON_PYCRYPTO_VERSION).tar.gz
PYTHON_PYCRYPTO_SITE = http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto
PYTHON_PYCRYPTO_SETUP_TYPE = distutils
PYTHON_PYCRYPTO_LICENSE = Public Domain, Python 2.2 License (HMAC.py, setup.py)
PYTHON_PYCRYPTO_LICENSE_FILES = \
COPYRIGHT LEGAL/copy/LICENSE.libtom \
LEGAL/copy/LICENSE.python-2.2
# The pycrypto package contains a LICENSE.orig file, but our patching
# infrastrucure removes all .orig file, so we must rename that license
# file prior to patching, so it is still available to the legal-info
# infrastructure
define PYTHON_PYCRYPTO_RENAME_LICENSE
mv $(@D)/LEGAL/copy/LICENSE.orig $(@D)/LEGAL/copy/LICENSE.original
endef
PYTHON_PYCRYPTO_POST_EXTRACT_HOOKS += PYTHON_PYCRYPTO_RENAME_LICENSE
HOST_PYTHON_PYCRYPTO_POST_EXTRACT_HOOKS += PYTHON_PYCRYPTO_RENAME_LICENSE
PYTHON_PYCRYPTO_LICENSE_FILES += LEGAL/copy/LICENSE.original
PYTHON_PYCRYPTO_DEPENDENCIES = gmp
HOST_PYTHON_PYCRYPTO_DEPENDENCIES = host-gmp
# The configure step needs to be run outside of the setup.py since it isn't
# run correctly for cross-compiling
define PYTHON_PYCRYPTO_CONFIGURE_CMDS
(cd $(@D) && \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--program-prefix="" \
)
endef
$(eval $(python-package))
$(eval $(host-python-package))
|
shibajee/buildroot
|
package/python-pycrypto/python-pycrypto.mk
|
mk
|
mit
| 1,687 |
config BR2_PACKAGE_PYTHON_PYDAL
bool python-pydal
help
pyDAL is a pure Python Database Abstraction Layer. It
dynamically generates the SQL in real time using the
specified dialect for the database back end, so that you do
not have to write SQL code or learn different SQL dialects
(the term SQL is used generically), and your code will be
portable among different types of databases.
pyDAL comes from the original web2py's DAL, with the aim of
being wide-compatible. pyDAL doesn't require web2py and can
be used in any Python context.
https://github.com/web2py/pydal
|
shibajee/buildroot
|
package/python-pydal/Config.in
|
in
|
mit
| 603 |
# locally computed
sha256 e59c050c4b7656c36351707dfbbae187645d46327e67e42415e15b3bc32d48b3 python-pydal-v15.07.tar.gz
|
shibajee/buildroot
|
package/python-pydal/python-pydal.hash
|
hash
|
mit
| 120 |
################################################################################
#
# python-pydal
#
################################################################################
PYTHON_PYDAL_VERSION = v15.07
PYTHON_PYDAL_SITE = $(call github,web2py,pydal,$(PYTHON_PYDAL_VERSION))
PYTHON_PYDAL_LICENSE = BSD-3c
PYTHON_PYDAL_LICENSE_FILES = LICENSE
PYTHON_PYDAL_SETUP_TYPE = setuptools
$(eval $(python-package))
$(eval $(host-python-package))
|
shibajee/buildroot
|
package/python-pydal/python-pydal.mk
|
mk
|
mit
| 446 |
config BR2_PACKAGE_PYTHON_PYFTPDLIB
bool "python-pyftpdlib"
help
Extremely fast and scalable Python FTP server library.
https://github.com/giampaolo/pyftpdlib
|
shibajee/buildroot
|
package/python-pyftpdlib/Config.in
|
in
|
mit
| 168 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=61b23e2362df23d0dfa5fe76f6e2ab55, sha256 locally computed
md5 61b23e2362df23d0dfa5fe76f6e2ab55 pyftpdlib-1.5.1.tar.gz
sha256 7bcd7fc825123414a157718c6dcdcb0978208d3c865d4650564acef4acce3354 pyftpdlib-1.5.1.tar.gz
|
shibajee/buildroot
|
package/python-pyftpdlib/python-pyftpdlib.hash
|
hash
|
mit
| 281 |
################################################################################
#
# python-pyftpdlib
#
################################################################################
PYTHON_PYFTPDLIB_VERSION = 1.5.1
PYTHON_PYFTPDLIB_SOURCE = pyftpdlib-$(PYTHON_PYFTPDLIB_VERSION).tar.gz
PYTHON_PYFTPDLIB_SITE = https://pypi.python.org/packages/a8/f8/0f6db156898616dbcbd7bf865660295c81479071ab0fcd1898fe1b3a4fc4
PYTHON_PYFTPDLIB_SETUP_TYPE = setuptools
PYTHON_PYFTPDLIB_LICENSE = MIT
PYTHON_PYFTPDLIB_LICENSE_FILES = LICENSE
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pyftpdlib/python-pyftpdlib.mk
|
mk
|
mit
| 554 |
config BR2_PACKAGE_PYTHON_PYGAME
bool "python-pygame"
select BR2_PACKAGE_SDL
help
Pygame is a cross-platfrom library designed to make it easy to write
multimedia software, such as games, in Python. Pygame requires the
Python language and SDL multimedia library.
It can also make use of several other popular libraries.
http://www.pygame.org/
if BR2_PACKAGE_PYTHON_PYGAME
config BR2_PACKAGE_PYTHON_PYGAME_IMAGE
bool "pygame.image"
select BR2_PACKAGE_SDL_IMAGE
select BR2_PACKAGE_SDL_IMAGE_PNG
select BR2_PACKAGE_SDL_IMAGE_JPEG
help
pygame module for loading, saving and transfering images.
Will autoselect sdl_image with png and jpeg support.
config BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES
bool "pygame.examples"
help
Include examples.
Selecting this option adds about 1.5 MB to the target file system.
config BR2_PACKAGE_PYTHON_PYGAME_FONT
bool "pygame.font"
select BR2_PACKAGE_SDL_TTF
help
pygame module for loading and rendering fonts.
Will autoselect sdl_ttf.
config BR2_PACKAGE_PYTHON_PYGAME_MIXER
bool "pygame.mixer"
select BR2_PACKAGE_SDL_MIXER
help
pygame module for loading and playing sounds.
Will autoselect sdl_mixer.
config BR2_PACKAGE_PYTHON_PYGAME_MIXER_MUSIC
bool "pygame.mixer.music"
depends on BR2_PACKAGE_PYTHON_PYGAME_MIXER
help
pygame module for controlling streamed audio
config BR2_PACKAGE_PYTHON_PYGAME_SCRAP
bool "pygame.scrap"
depends on BR2_PACKAGE_SDL_X11
help
pygame module for clipboard support (X11 needed)
endif
|
shibajee/buildroot
|
package/python-pygame/Config.in
|
in
|
mit
| 1,513 |
################################################################################
#
# python-pygame
#
################################################################################
# stable 1.9.1 release requires V4L which has been wiped out of recent Linux
# kernels, so use latest mercurial revision until next stable release is out.
PYTHON_PYGAME_VERSION = d61ea8eabd56
PYTHON_PYGAME_SOURCE = pygame-$(PYTHON_PYGAME_VERSION).tar.gz
PYTHON_PYGAME_SITE = https://bitbucket.org/pygame/pygame
PYTHON_PYGAME_SITE_METHOD = hg
PYTHON_PYGAME_SETUP_TYPE = distutils
PYTHON_PYGAME_LICENSE = LGPLv2.1+
PYTHON_PYGAME_LICENSE_FILES = LGPL
ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y)
PYTHON_PYGAME_OPT_DEPENDS += sdl_image
endif
ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y)
PYTHON_PYGAME_OPT_DEPENDS += sdl_ttf
endif
ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y)
PYTHON_PYGAME_OPT_DEPENDS += sdl_mixer
endif
PYTHON_PYGAME_DEPENDENCIES = sdl $(PYTHON_PYGAME_OPT_DEPENDS)
ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y)
define PYTHON_PYGAME_UNCONFIGURE_IMAGE
$(SED) 's/^imageext/#imageext/' $(@D)/Setup
endef
endif
ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y)
define PYTHON_PYGAME_UNCONFIGURE_FONT
$(SED) 's/^font/#font/' $(@D)/Setup
endef
endif
ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y)
define PYTHON_PYGAME_UNCONFIGURE_MIXER
$(SED) 's/^mixer/#mixer/g' $(@D)/Setup
endef
endif
# Both require numpy or numeric python module
define PYTHON_PYGAME_UNCONFIGURE_SNDARRAY
$(SED) 's/^_numericsndarray/#_numericsndarray/' $(@D)/Setup
endef
define PYTHON_PYGAME_UNCONFIGURE_SURFARRAY
$(SED) 's/^_numericsurfarray/#_numericsurfarray/' $(@D)/Setup
endef
# Requires smpeg
define PYTHON_PYGAME_UNCONFIGURE_MOVIE
$(SED) 's/^movie/#movie/' $(@D)/Setup
endef
ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_SCRAP),y)
define PYTHON_PYGAME_UNCONFIGURE_SCRAP
$(SED) 's/^scrap/#scrap/' $(@D)/Setup
endef
endif
define PYTHON_PYGAME_UNCONFIGURE_FREETYPE
$(SED) 's/^_freetype/#_freetype/' $(@D)/Setup
endef
PYTHON_PYGAME_SDL_FLAGS = `$(STAGING_DIR)/usr/bin/sdl-config --cflags`
PYTHON_PYGAME_SDL_FLAGS += `$(STAGING_DIR)/usr/bin/sdl-config --libs`
# Pygame needs a Setup file where options should be commented out if
# dependencies are not available
define PYTHON_PYGAME_CONFIGURE_CMDS
cp -f $(@D)/Setup.in $(@D)/Setup
$(SED) "s~^SDL = ~SDL = $(PYTHON_PYGAME_SDL_FLAGS) \n#~" $(@D)/Setup
$(SED) 's/^pypm/#pypm/' $(@D)/Setup
$(PYTHON_PYGAME_UNCONFIGURE_IMAGE)
$(PYTHON_PYGAME_UNCONFIGURE_FONT)
$(PYTHON_PYGAME_UNCONFIGURE_MIXER)
$(PYTHON_PYGAME_UNCONFIGURE_SNDARRAY)
$(PYTHON_PYGAME_UNCONFIGURE_SURFARRAY)
$(PYTHON_PYGAME_UNCONFIGURE_MOVIE)
$(PYTHON_PYGAME_UNCONFIGURE_SCRAP)
$(PYTHON_PYGAME_UNCONFIGURE_FREETYPE)
endef
define PYTHON_PYGAME_REMOVE_DOC
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/docs
endef
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_DOC
define PYTHON_PYGAME_REMOVE_TESTS
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/tests
endef
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_TESTS
ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES),y)
define PYTHON_PYGAME_REMOVE_EXAMPLES
rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/pygame/examples
endef
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_EXAMPLES
endif
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pygame/python-pygame.mk
|
mk
|
mit
| 3,337 |
config BR2_PACKAGE_PYTHON_PYGMENTS
bool "python-pygments"
help
Pygments is a syntax highlighting package written in Python.
https://pypi.python.org/pypi/Pygments
|
shibajee/buildroot
|
package/python-pygments/Config.in
|
in
|
mit
| 171 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=84533d22f72de894f6d3907c3ca9eddf, sha256 locally computed.
md5 84533d22f72de894f6d3907c3ca9eddf Pygments-2.1.tar.gz
sha256 13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b Pygments-2.1.tar.gz
|
shibajee/buildroot
|
package/python-pygments/python-pygments.hash
|
hash
|
mit
| 274 |
################################################################################
#
# python-pygments
#
################################################################################
PYTHON_PYGMENTS_VERSION = 2.1
PYTHON_PYGMENTS_SOURCE = Pygments-$(PYTHON_PYGMENTS_VERSION).tar.gz
PYTHON_PYGMENTS_SITE = http://pypi.python.org/packages/source/P/Pygments
PYTHON_PYGMENTS_LICENSE = BSD-2c
PYTHON_PYGMENTS_LICENSE_FILES = LICENSE
PYTHON_PYGMENTS_SETUP_TYPE = setuptools
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pygments/python-pygments.mk
|
mk
|
mit
| 496 |
config BR2_PACKAGE_PYTHON_PYINOTIFY
bool "python-pyinotify"
help
Monitoring filesystems events with inotify on Linux.
https://github.com/seb-m/pyinotify
|
shibajee/buildroot
|
package/python-pyinotify/Config.in
|
in
|
mit
| 162 |
# Locally calculated
sha256 7943f198c5cef2bdc121d847937fbe565daaa7d4daaf1b8de8ef5689812f481c python-pyinotify-0.9.6.tar.gz
|
shibajee/buildroot
|
package/python-pyinotify/python-pyinotify.hash
|
hash
|
mit
| 124 |
################################################################################
#
# python-pyinotify
#
################################################################################
PYTHON_PYINOTIFY_VERSION = 0.9.6
PYTHON_PYINOTIFY_SITE = $(call github,seb-m,pyinotify,$(PYTHON_PYINOTIFY_VERSION))
PYTHON_PYINOTIFY_SETUP_TYPE = setuptools
PYTHON_PYINOTIFY_LICENSE = MIT
PYTHON_PYINOTIFY_LICENSE_FILES = COPYING
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pyinotify/python-pyinotify.mk
|
mk
|
mit
| 442 |
config BR2_PACKAGE_PYTHON_PYMYSQL
bool "python-pymysql"
help
PyMySQL is a pure-Python MySQL client library. It follows
the DB-API 2.0.
https://pypi.python.org/pypi/PyMySQL/
|
shibajee/buildroot
|
package/python-pymysql/Config.in
|
in
|
mit
| 185 |
#md5 from https://pypi.python.org/pypi?:action=show_md5&digest=6d757cda8bfbd312714207f7c0bef5c7
md5 6d757cda8bfbd312714207f7c0bef5c7 PyMySQL-0.7.2.tar.gz
# Locally calculated:
sha256 bd7acb4990dbf097fae3417641f93e25c690e01ed25c3ed32ea638d6c3ac04ba PyMySQL-0.7.2.tar.gz
|
shibajee/buildroot
|
package/python-pymysql/python-pymysql.hash
|
hash
|
mit
| 274 |
################################################################################
#
# python-pymysql
#
################################################################################
PYTHON_PYMYSQL_VERSION = 0.7.2
PYTHON_PYMYSQL_SOURCE = PyMySQL-$(PYTHON_PYMYSQL_VERSION).tar.gz
PYTHON_PYMYSQL_SITE = https://pypi.python.org/packages/source/P/PyMySQL
PYTHON_PYMYSQL_LICENSE = MIT
PYTHON_PYMYSQL_LICENSE_FILES = LICENSE
PYTHON_PYMYSQL_SETUP_TYPE = setuptools
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pymysql/python-pymysql.mk
|
mk
|
mit
| 486 |
config BR2_PACKAGE_PYTHON_PYNACL
bool "python-pynacl"
select BR2_PACKAGE_LIBSODIUM
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_CFFI # runtime
help
Python binding to the Networking and Cryptography (NaCl) library.
https://pypi.python.org/pypi/PyNaCl
|
shibajee/buildroot
|
package/python-pynacl/Config.in
|
in
|
mit
| 283 |
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=12fd03d8ce64e0318cb1c69272f17704, sha256 locally computed.
md5 12fd03d8ce64e0318cb1c69272f17704 PyNaCl-1.0.1.tar.gz
sha256 d21d7a7358a85fb9b9ddadfbd1176c40fe199334fe2202881255e77f6d3773f4 PyNaCl-1.0.1.tar.gz
|
shibajee/buildroot
|
package/python-pynacl/python-pynacl.hash
|
hash
|
mit
| 274 |
################################################################################
#
# python-pynacl
#
################################################################################
PYTHON_PYNACL_VERSION = 1.0.1
PYTHON_PYNACL_SOURCE = PyNaCl-$(PYTHON_PYNACL_VERSION).tar.gz
PYTHON_PYNACL_SITE = http://pypi.python.org/packages/source/P/PyNaCl
PYTHON_PYNACL_LICENSE = Apache-2.0
PYTHON_PYNACL_LICENSE_FILES = LICENSE
PYTHON_PYNACL_SETUP_TYPE = setuptools
PYTHON_PYNACL_DEPENDENCIES = libsodium host-python-cffi
PYTHON_PYNACL_ENV = SODIUM_INSTALL=system
$(eval $(python-package))
|
shibajee/buildroot
|
package/python-pynacl/python-pynacl.mk
|
mk
|
mit
| 580 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.