python3-pyparsing: initial import
This commit is contained in:
parent
85d3f31806
commit
c99f9e47dc
13
python3-pyparsing/.footprint
Normal file
13
python3-pyparsing/.footprint
Normal file
@ -0,0 +1,13 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python3.6/
|
||||
drwxr-xr-x root/root usr/lib/python3.6/site-packages/
|
||||
drwxr-xr-x root/root usr/lib/python3.6/site-packages/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.6/site-packages/__pycache__/pyparsing.cpython-36.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.6/site-packages/__pycache__/pyparsing.cpython-36.pyc
|
||||
drwxr-xr-x root/root usr/lib/python3.6/site-packages/pyparsing-2.1.10-py3.6.egg-info/
|
||||
-rw-rw-rw- root/root usr/lib/python3.6/site-packages/pyparsing-2.1.10-py3.6.egg-info/PKG-INFO
|
||||
-rw-rw-rw- root/root usr/lib/python3.6/site-packages/pyparsing-2.1.10-py3.6.egg-info/SOURCES.txt
|
||||
-rw-rw-rw- root/root usr/lib/python3.6/site-packages/pyparsing-2.1.10-py3.6.egg-info/dependency_links.txt
|
||||
-rw-rw-rw- root/root usr/lib/python3.6/site-packages/pyparsing-2.1.10-py3.6.egg-info/top_level.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.6/site-packages/pyparsing.py
|
2
python3-pyparsing/.md5sum
Normal file
2
python3-pyparsing/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
3b74f5cd0740a05802a23b019ce579a3 get-pip.py
|
||||
065908b92904e0d3634eb156f44cc80e pyparsing-2.1.10.tar.gz
|
33
python3-pyparsing/Pkgfile
Normal file
33
python3-pyparsing/Pkgfile
Normal file
@ -0,0 +1,33 @@
|
||||
# Description: Python parsing module.
|
||||
# URL: https://pypi.python.org/pypi/pyparsing/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: python3
|
||||
|
||||
name=python3-pyparsing
|
||||
version=2.1.10
|
||||
release=1
|
||||
source=(https://pypi.python.org/packages/38/bb/bf325351dd8ab6eb3c3b7c07c3978f38b2103e2ab48d59726916907cd6fb/pyparsing-$version.tar.gz
|
||||
https://bootstrap.pypa.io/get-pip.py)
|
||||
|
||||
build() {
|
||||
cd ${name#*-}-$version
|
||||
|
||||
if [ "$(pkginfo -i | egrep -c '^python3-(setuptools|appdirs|pyparsing|six|pip|packaging) ')" != 6 ]; then
|
||||
install -d build
|
||||
/usr/bin/python3 $SRC/get-pip.py --root=$SRC/build
|
||||
|
||||
local PYTHONVERSION=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
|
||||
|
||||
PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \
|
||||
/usr/bin/python3 setup.py build
|
||||
|
||||
PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \
|
||||
/usr/bin/python3 setup.py install \
|
||||
--prefix=/usr --root=$PKG --optimize=1
|
||||
else
|
||||
/usr/bin/python3 setup.py build
|
||||
|
||||
/usr/bin/python3 setup.py install \
|
||||
--prefix=/usr --root=$PKG --optimize=1
|
||||
fi
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user