Skip to content

Commit 449734f

Browse files
committed
package/python-sniffio: new package
1 parent 0039533 commit 449734f

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

package/Config.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,7 @@ menu "External python modules"
10611061
source "package/python-six/Config.in"
10621062
source "package/python-slob/Config.in"
10631063
source "package/python-smbus-cffi/Config.in"
1064+
source "package/python-sniffio/Config.in"
10641065
source "package/python-socketio/Config.in"
10651066
source "package/python-sortedcontainers//Config.in"
10661067
source "package/python-spidev/Config.in"

package/python-sniffio/Config.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
config BR2_PACKAGE_PYTHON_SNIFFIO
2+
bool "python-sniffio"
3+
depends on BR2_PACKAGE_PYTHON3
4+
help
5+
Sniff out which async library your code is running under.
6+
7+
https://github.com/python-trio/sniffio
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# md5, sha256 from https://pypi.org/pypi/sniffio/json
2+
md5 2d7cc6c3a94d3357d333a4ade4a83de8 sniffio-1.2.0.tar.gz
3+
sha256 c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de sniffio-1.2.0.tar.gz
4+
# Locally computed sha256 checksums
5+
sha256 652c878488d1456361e08c3f8607fd7ba59892a14103d15cce4ff93c85b5cc8b LICENSE
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
################################################################################
2+
#
3+
# python-sniffio
4+
#
5+
################################################################################
6+
7+
PYTHON_SNIFFIO_VERSION = 1.2.0
8+
PYTHON_SNIFFIO_SOURCE = sniffio-$(PYTHON_SNIFFIO_VERSION).tar.gz
9+
PYTHON_SNIFFIO_SITE = https://files.pythonhosted.org/packages/a6/ae/44ed7978bcb1f6337a3e2bef19c941de750d73243fc9389140d62853b686
10+
PYTHON_SNIFFIO_SETUP_TYPE = setuptools
11+
PYTHON_SNIFFIO_LICENSE = Apache-2.0
12+
PYTHON_SNIFFIO_LICENSE_FILES = LICENSE
13+
14+
$(eval $(python-package))

0 commit comments

Comments
 (0)