diff options
author | Dionysis Ntreou <yakizarns1@gmail.com> | 2019-11-16 20:25:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-16 20:25:32 +0700 |
commit | f3e7f484b87e1bebf3efd5561795d06feeb6f276 (patch) | |
tree | b70f4d2f0978b72fd02287bf47ca681e9105fe95 /python/regex/regex.SlackBuild | |
parent | 8d54ed93e9920d432270e6c43ea2b5f00e6ab601 (diff) | |
download | slackbuilds-f3e7f484b87e1bebf3efd5561795d06feeb6f276.tar.gz |
python/regex: Updated for version 2019.08.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/regex/regex.SlackBuild')
-rw-r--r-- | python/regex/regex.SlackBuild | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/python/regex/regex.SlackBuild b/python/regex/regex.SlackBuild index a3ae42726c..20f7fb7792 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} |