diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/nxt-python/nxt-python.info | 2 | ||||
-rw-r--r-- | python/pybluez/pybluez-2to3.patch | 21 | ||||
-rw-r--r-- | python/pybluez/slack-desc | 19 | ||||
-rw-r--r-- | python/python2-pybluez/README (renamed from python/pybluez/README) | 0 | ||||
-rw-r--r-- | python/python2-pybluez/python2-pybluez.SlackBuild (renamed from python/pybluez/pybluez.SlackBuild) | 11 | ||||
-rw-r--r-- | python/python2-pybluez/python2-pybluez.info (renamed from python/pybluez/pybluez.info) | 4 | ||||
-rw-r--r-- | python/python2-pybluez/slack-desc | 19 |
7 files changed, 25 insertions, 51 deletions
diff --git a/python/nxt-python/nxt-python.info b/python/nxt-python/nxt-python.info index c0554514c3847..d36d2f271dbf4 100644 --- a/python/nxt-python/nxt-python.info +++ b/python/nxt-python/nxt-python.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/Eelviny/nxt-python/archive/v2.2.2/nxt-python-2.2.2. MD5SUM="5bd1f018cef143f3c1184847db6a9e1e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pyusb pybluez" +REQUIRES="pyusb python2-pybluez" MAINTAINER="klaatu" EMAIL="klaatu@member.fsf.org" diff --git a/python/pybluez/pybluez-2to3.patch b/python/pybluez/pybluez-2to3.patch deleted file mode 100644 index e15309db44e3f..0000000000000 --- a/python/pybluez/pybluez-2to3.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 64ca3fd1568e56f2d0e1fe992f3a0f5ba57ea694 Mon Sep 17 00:00:00 2001 -From: Stephen Abraham <stephenabraham@tophatorbotics.com> -Date: Mon, 13 Sep 2021 16:22:46 -0400 -Subject: [PATCH] Removed 2to3 command - ---- - setup.py | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/setup.py b/setup.py -index c9de5c9..6a80b4e 100755 ---- a/setup.py -+++ b/setup.py -@@ -127,7 +127,6 @@ def finalize_options(self): - license='GPL', - extras_require={'ble': ['gattlib']}, - package_dir=package_dir, -- use_2to3=True, - install_requires=install_requires, - package_data=package_data, - eager_resources=eager_resources, diff --git a/python/pybluez/slack-desc b/python/pybluez/slack-desc deleted file mode 100644 index 3371d219dd9b2..0000000000000 --- a/python/pybluez/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -pybluez: pybluez (Python BlueZ bindings) -pybluez: -pybluez: Python extension module allowing access to system Bluetooth -pybluez: resources. -pybluez: -pybluez: Homepage: https://pybluez.github.io/ -pybluez: -pybluez: -pybluez: -pybluez: -pybluez: diff --git a/python/pybluez/README b/python/python2-pybluez/README index 90f6019f56362..90f6019f56362 100644 --- a/python/pybluez/README +++ b/python/python2-pybluez/README diff --git a/python/pybluez/pybluez.SlackBuild b/python/python2-pybluez/python2-pybluez.SlackBuild index c04a9efc51a8d..6e6d6a8b81812 100644 --- a/python/pybluez/pybluez.SlackBuild +++ b/python/python2-pybluez/python2-pybluez.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for pybluez +# Slackware build script for python2-pybluez -# Copyright 2009-2021 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2009-2022 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=pybluez +PRGNAM=python2-pybluez SRCNAM=PyBluez VERSION=${VERSION:-0.23} BUILD=${BUILD:-1} @@ -77,11 +77,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Don't use 2to3 support anymore -patch -p1 -i $CWD/pybluez-2to3.patch - -python3 setup.py install --root=$PKG - # Fix python2 support sed -i '50,$d' bluetooth/__init__.py diff --git a/python/pybluez/pybluez.info b/python/python2-pybluez/python2-pybluez.info index 97070c4479a52..88d00dc9a530b 100644 --- a/python/pybluez/pybluez.info +++ b/python/python2-pybluez/python2-pybluez.info @@ -1,10 +1,10 @@ -PRGNAM="pybluez" +PRGNAM="python2-pybluez" VERSION="0.23" HOMEPAGE="https://pybluez.github.io/" DOWNLOAD="https://files.pythonhosted.org/packages/08/9f/e9d93b266d2d1ea988780a52a696073ba0a65df65a532165fdf6ff90d0ed/PyBluez-0.23.tar.gz" MD5SUM="afbe8429bb82d2c46a3d0f5f4f898f9d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python2-gattlib python3-gattlib" +REQUIRES="python2-gattlib" MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@slackbuilds.org" diff --git a/python/python2-pybluez/slack-desc b/python/python2-pybluez/slack-desc new file mode 100644 index 0000000000000..eb2a013d017fb --- /dev/null +++ b/python/python2-pybluez/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-pybluez: python2-pybluez (Python BlueZ bindings) +python2-pybluez: +python2-pybluez: Python extension module allowing access to system Bluetooth +python2-pybluez: resources. +python2-pybluez: +python2-pybluez: Homepage: https://pybluez.github.io/ +python2-pybluez: +python2-pybluez: +python2-pybluez: +python2-pybluez: +python2-pybluez: |