aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-14 21:34:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:39:59 +0700
commitf90d21c8e4f3c076a9e03fd53c1464828c67804b (patch)
tree52205910138d67b8a58e27321a89ad265c90e718
parent3e1d960c41238a7d5128f9f16e944cebd42b5423 (diff)
python/python-clamd: Renamed python2-clamd.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-clamd/slack-desc19
-rw-r--r--python/python2-clamd/README (renamed from python/python-clamd/README)0
-rw-r--r--python/python2-clamd/clamd-socket-file-name.patch (renamed from python/python-clamd/clamd-socket-file-name.patch)0
-rw-r--r--python/python2-clamd/python2-clamd.SlackBuild (renamed from python/python-clamd/python-clamd.SlackBuild)4
-rw-r--r--python/python2-clamd/python2-clamd.info (renamed from python/python-clamd/python-clamd.info)2
-rw-r--r--python/python2-clamd/slack-desc19
6 files changed, 22 insertions, 22 deletions
diff --git a/python/python-clamd/slack-desc b/python/python-clamd/slack-desc
deleted file mode 100644
index 9fbc535e9e4c..000000000000
--- a/python/python-clamd/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-clamd: python-clamd (python interface to Clamav)
-python-clamd:
-python-clamd: clamd is a portable Python module to use the ClamAV
-python-clamd: anti-virus engine on Windows, Linux, MacOSX and other
-python-clamd: platforms. It requires a running instance of the
-python-clamd: clamd daemon.
-python-clamd:
-python-clamd:
-python-clamd: Web Site: https://github.com/graingert/python-clamd
-python-clamd:
-python-clamd:
diff --git a/python/python-clamd/README b/python/python2-clamd/README
index 20223a615cef..20223a615cef 100644
--- a/python/python-clamd/README
+++ b/python/python2-clamd/README
diff --git a/python/python-clamd/clamd-socket-file-name.patch b/python/python2-clamd/clamd-socket-file-name.patch
index 76611cd03619..76611cd03619 100644
--- a/python/python-clamd/clamd-socket-file-name.patch
+++ b/python/python2-clamd/clamd-socket-file-name.patch
diff --git a/python/python-clamd/python-clamd.SlackBuild b/python/python2-clamd/python2-clamd.SlackBuild
index 2aadfb7e9134..f76db8bf54bc 100644
--- a/python/python-clamd/python-clamd.SlackBuild
+++ b/python/python2-clamd/python2-clamd.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-clamd
+PRGNAM=python2-clamd
SRCNAM=clamd
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
@@ -73,7 +73,7 @@ find -L . \
# Fixes the clamd socket file name for Slackware
patch -p1 --verbose < $CWD/clamd-socket-file-name.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-clamd/python-clamd.info b/python/python2-clamd/python2-clamd.info
index 27fc41fb068b..722f11041d57 100644
--- a/python/python-clamd/python-clamd.info
+++ b/python/python2-clamd/python2-clamd.info
@@ -1,4 +1,4 @@
-PRGNAM="python-clamd"
+PRGNAM="python2-clamd"
VERSION="1.0.2"
HOMEPAGE="https://github.com/graingert/python-clamd"
DOWNLOAD="https://pypi.python.org/packages/source/c/clamd/clamd-1.0.2.tar.gz"
diff --git a/python/python2-clamd/slack-desc b/python/python2-clamd/slack-desc
new file mode 100644
index 000000000000..6ac7a456da9f
--- /dev/null
+++ b/python/python2-clamd/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-clamd: python2-clamd (python interface to Clamav)
+python2-clamd:
+python2-clamd: clamd is a portable Python module to use the ClamAV
+python2-clamd: anti-virus engine on Windows, Linux, MacOSX and other
+python2-clamd: platforms. It requires a running instance of the
+python2-clamd: clamd daemon.
+python2-clamd:
+python2-clamd:
+python2-clamd: Web Site: https://github.com/graingert/python-clamd
+python2-clamd:
+python2-clamd: