aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 17:11:18 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:48 +0700
commitc6830b5760af44e674cb97ec71e3f14132bd70ff (patch)
treed7861409e19bf64851b568df8f4bcf1a35eade29 /python
parent8eec73c9fbe6957dad9a0b3f8edae4dadc01dafc (diff)
downloadslackbuilds-c6830b5760af44e674cb97ec71e3f14132bd70ff.tar.xz
python/python-gattlib: Renamed python2-gattlib.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-gattlib/slack-desc19
-rw-r--r--python/python2-gattlib/README (renamed from python/python-gattlib/README)0
-rw-r--r--python/python2-gattlib/dont_hardcode_python_versions.patch (renamed from python/python-gattlib/dont_hardcode_python_versions.patch)0
-rw-r--r--python/python2-gattlib/python2-gattlib.SlackBuild (renamed from python/python-gattlib/python-gattlib.SlackBuild)4
-rw-r--r--python/python2-gattlib/python2-gattlib.info (renamed from python/python-gattlib/python-gattlib.info)2
-rw-r--r--python/python2-gattlib/slack-desc19
6 files changed, 22 insertions, 22 deletions
diff --git a/python/python-gattlib/slack-desc b/python/python-gattlib/slack-desc
deleted file mode 100644
index bf1e8b2ae3b5..000000000000
--- a/python/python-gattlib/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------------------------------------------------------|
-python-gattlib: python-gattlib (Bluetooth LE protocol library)
-python-gattlib:
-python-gattlib: This is a Python library to use the GATT Protocol for Bluetooth LE
-python-gattlib: devices. It is a wrapper around the implementation used by gatttool
-python-gattlib: in bluez package.
-python-gattlib:
-python-gattlib: Homepage: https://bitbucket.org/OscarAcena/pygattlib
-python-gattlib:
-python-gattlib:
-python-gattlib:
-python-gattlib:
diff --git a/python/python-gattlib/README b/python/python2-gattlib/README
index ab2b73dfa094..ab2b73dfa094 100644
--- a/python/python-gattlib/README
+++ b/python/python2-gattlib/README
diff --git a/python/python-gattlib/dont_hardcode_python_versions.patch b/python/python2-gattlib/dont_hardcode_python_versions.patch
index 0e11e85d182c..0e11e85d182c 100644
--- a/python/python-gattlib/dont_hardcode_python_versions.patch
+++ b/python/python2-gattlib/dont_hardcode_python_versions.patch
diff --git a/python/python-gattlib/python-gattlib.SlackBuild b/python/python2-gattlib/python2-gattlib.SlackBuild
index 354003e93e3e..33c25a3835c9 100644
--- a/python/python-gattlib/python-gattlib.SlackBuild
+++ b/python/python2-gattlib/python2-gattlib.SlackBuild
@@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-gattlib
+PRGNAM=python2-gattlib
VERSION=${VERSION:-0.20150805}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -59,7 +59,7 @@ find -L . \
patch -p1 < $CWD/dont_hardcode_python_versions.patch
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python-gattlib/python-gattlib.info b/python/python2-gattlib/python2-gattlib.info
index a44ffd366cdf..b7f3c2c86983 100644
--- a/python/python-gattlib/python-gattlib.info
+++ b/python/python2-gattlib/python2-gattlib.info
@@ -1,4 +1,4 @@
-PRGNAM="python-gattlib"
+PRGNAM="python2-gattlib"
VERSION="0.20150805"
HOMEPAGE="https://bitbucket.org/OscarAcena/pygattlib"
DOWNLOAD="https://pypi.python.org/packages/be/2f/5b1aecec551b42b59d8b399ad444b5672972efb590ca83d784dbe616a3e1/gattlib-0.20150805.tar.gz"
diff --git a/python/python2-gattlib/slack-desc b/python/python2-gattlib/slack-desc
new file mode 100644
index 000000000000..b9d149dfabe8
--- /dev/null
+++ b/python/python2-gattlib/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-gattlib: python2-gattlib (Bluetooth LE protocol library)
+python2-gattlib:
+python2-gattlib: This is a Python library to use the GATT Protocol for Bluetooth LE
+python2-gattlib: devices. It is a wrapper around the implementation used by gatttool
+python2-gattlib: in bluez package.
+python2-gattlib:
+python2-gattlib: Homepage: https://bitbucket.org/OscarAcena/pygattlib
+python2-gattlib:
+python2-gattlib:
+python2-gattlib:
+python2-gattlib: