python/python-dateutil: Renamed python2-dateutil.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-14 21:34:35 +01:00 committed by Willy Sudiarto Raharjo
parent f90d21c8e4
commit 4419045981
No known key found for this signature in database
GPG key ID: 3F617144D7238786
6 changed files with 36 additions and 36 deletions

View file

@ -1,10 +0,0 @@
PRGNAM="python-dateutil"
VERSION="2.8.1"
HOMEPAGE="http://labix.org/python-dateutil"
DOWNLOAD="https://files.pythonhosted.org/packages/be/ed/5bbc91f03fa4c839c4c7360375da77f9659af5f7086b7a7bdda65771c8e0/python-dateutil-2.8.1.tar.gz"
MD5SUM="f2a1d4b680b297b367a974664ca3a4f6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="setuptools-scm"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"

View file

@ -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-dateutil: python-dateutil (extensions to the standard datetime module)
python-dateutil:
python-dateutil: The dateutil module provides powerful extensions to the standard
python-dateutil: datetime module.
python-dateutil:
python-dateutil: Hompage: http://labix.org/python-dateutil
python-dateutil:
python-dateutil:
python-dateutil:
python-dateutil:
python-dateutil:

View file

@ -22,9 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-dateutil
VERSION=${VERSION:-2.8.1}
BUILD=${BUILD:-1}
PRGNAM=python2-dateutil
SRCNAM=python-dateutil
VERSION=${VERSION:-2.8.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -45,9 +46,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -63,7 +64,6 @@ for i in NEWS; do
done
python2 setup.py install --root=$PKG
python3 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

View file

@ -0,0 +1,10 @@
PRGNAM="python2-dateutil"
VERSION="2.8.0"
HOMEPAGE="http://labix.org/python-dateutil"
DOWNLOAD="https://pypi.io/packages/source/p/python-dateutil/python-dateutil-2.8.0.tar.gz"
MD5SUM="354db28843d949f1bc3e49e8458e22df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="setuptools-scm"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"

View file

@ -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-dateutil: python2-dateutil (extensions to the standard datetime module)
python2-dateutil:
python2-dateutil: The dateutil module provides powerful extensions to the standard
python2-dateutil: datetime module.
python2-dateutil:
python2-dateutil: Hompage: http://labix.org/python-dateutil
python2-dateutil:
python2-dateutil:
python2-dateutil:
python2-dateutil:
python2-dateutil: