aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDionysis Ntreou <yakizarns1@gmail.com>2019-11-16 20:25:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-16 20:25:32 +0700
commitf3e7f484b87e1bebf3efd5561795d06feeb6f276 (patch)
treeb70f4d2f0978b72fd02287bf47ca681e9105fe95
parent8d54ed93e9920d432270e6c43ea2b5f00e6ab601 (diff)
python/regex: Updated for version 2019.08.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/regex/regex.SlackBuild14
-rw-r--r--python/regex/regex.info10
2 files changed, 6 insertions, 18 deletions
diff --git a/python/regex/regex.SlackBuild b/python/regex/regex.SlackBuild
index a3ae42726c54..20f7fb7792a3 100644
--- a/python/regex/regex.SlackBuild
+++ b/python/regex/regex.SlackBuild
@@ -21,12 +21,10 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=regex
-VERSION=${VERSION:-2019.03.09}
+VERSION=${VERSION:-2019.08.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -34,12 +32,10 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -53,9 +49,7 @@ else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-
set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -68,23 +62,17 @@ find -L . \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
python setup.py install --root=$PKG
-
# Python 3 support.
if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
-
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
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/python/regex/regex.info b/python/regex/regex.info
index 140c4a21a525..5bda951fc9bf 100644
--- a/python/regex/regex.info
+++ b/python/regex/regex.info
@@ -1,10 +1,10 @@
PRGNAM="regex"
-VERSION="2019.03.09"
+VERSION="2019.08.19"
HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex"
-DOWNLOAD="https://files.pythonhosted.org/packages/2e/ee/97d1460361ee3552e47d5eab79cfa6a5bdb438185302fbb6bec58bbd18e4/regex-2019.03.09.tar.gz"
-MD5SUM="5b8d9f699b3fcb43ee50917b0bc0e839"
+DOWNLOAD="https://files.pythonhosted.org/packages/6f/a6/99eeb5904ab763db87af4bd71d9b1dfdd9792681240657a4c0a599c10a81/regex-2019.08.19.tar.gz"
+MD5SUM="d31ec392ab75b894404d8db76dacd191"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="Dionysis Ntreou"
+EMAIL="yakizarns1@gmail.com"