summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio2020-06-30 10:45:54 +0100
committerSergio2020-06-30 10:45:54 +0100
commit3adef303c2bf48a3adba92d29477e417ae413e7d (patch)
tree94cfc436caee926e9405ef8954c45433de90639b
parenta11272ead4a95d23150a9305629ca47c38466402 (diff)
downloadaur-3adef303c2bf48a3adba92d29477e417ae413e7d.tar.gz
updated pynn version to 0.95
-rw-r--r--.SRCINFO49
-rw-r--r--PKGBUILD38
2 files changed, 20 insertions, 67 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 136bee8aee6..f3b6ff67d55 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,7 @@ pkgbase = python-spynnaker-git
makedepends = python2-setuptools
makedepends = python
makedepends = python-setuptools
+ makedepends = git
depends = python2
depends = python
depends = python2-lazyarray
@@ -43,7 +44,7 @@ pkgbase = python-spynnaker-git
source = spinnaker_tools::git+https://github.com/SpiNNakerManchester/spinnaker_tools.git
source = SpiNNakerGraphFrontEnd::git+https://github.com/SpiNNakerManchester/SpiNNakerGraphFrontEnd.git
source = spynnaker8::git+https://github.com/SpiNNakerManchester/sPyNNaker8.git
- source = https://files.pythonhosted.org/packages/source/P/PyNN/PyNN-0.9.4.tar.gz
+ source = https://files.pythonhosted.org/packages/source/P/PyNN/PyNN-0.9.5.tar.gz
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
@@ -57,53 +58,9 @@ pkgbase = python-spynnaker-git
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
- sha256sums = eb6172235ace66d825afeb99da90a4fe64796a81e46cfda64c67c542e41f2c47
+ sha256sums = 91af2126b639a6a795bfc2709ac49423278c4794b6d0da143908b9afcb415f80
pkgname = python-spynnaker-git
- depends = python2
- depends = python
- depends = python2-lazyarray
- depends = python-lazyarray
- depends = python-neo
- depends = python2-neo
- depends = python-quantities
- depends = python2-quantities
- depends = python-lxml
- depends = python2-lxml
- depends = python-jsonschema
- depends = python2-jsonschema
- depends = python-future
- depends = python2-future
- depends = python2-futures
- depends = python2-sortedcontainers
- depends = python-sortedcontainers
- depends = python2-sortedcollections
- depends = python-sortedcollections
- depends = python-requests
- depends = python2-requests
- depends = python
pkgname = python2-spynnaker-git
- depends = python2
- depends = python
- depends = python2-lazyarray
- depends = python-lazyarray
- depends = python-neo
- depends = python2-neo
- depends = python-quantities
- depends = python2-quantities
- depends = python-lxml
- depends = python2-lxml
- depends = python-jsonschema
- depends = python2-jsonschema
- depends = python-future
- depends = python2-future
- depends = python2-futures
- depends = python2-sortedcontainers
- depends = python-sortedcontainers
- depends = python2-sortedcollections
- depends = python-sortedcollections
- depends = python-requests
- depends = python2-requests
- depends = python2
diff --git a/PKGBUILD b/PKGBUILD
index 2724397aa5e..a1456a228d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="Spinnaker implementation of PyNN"
arch=('any')
url="https://pypi.org/project/sPyNNaker/#files"
license=('GPL')
-makedepends=('python2' 'python2-setuptools' 'python' 'python-setuptools')
+makedepends=('python2' 'python2-setuptools' 'python' 'python-setuptools' 'git')
depends=('python2' 'python' 'python2-lazyarray' 'python-lazyarray' 'python-neo' 'python2-neo' 'python-quantities' 'python2-quantities' 'python-lxml' 'python2-lxml' 'python-jsonschema' 'python2-jsonschema' 'python-future' 'python2-future' 'python2-futures' 'python2-sortedcontainers' 'python-sortedcontainers' 'python2-sortedcollections' 'python-sortedcollections' 'python-requests' 'python2-requests')
source=(
"spalloc::git+https://github.com/SpiNNakerManchester/spalloc.git"
@@ -24,7 +24,7 @@ source=(
"spinnaker_tools::git+https://github.com/SpiNNakerManchester/spinnaker_tools.git"
"SpiNNakerGraphFrontEnd::git+https://github.com/SpiNNakerManchester/SpiNNakerGraphFrontEnd.git"
"spynnaker8::git+https://github.com/SpiNNakerManchester/sPyNNaker8.git"
-"https://files.pythonhosted.org/packages/source/P/PyNN/PyNN-0.9.4.tar.gz"
+"https://files.pythonhosted.org/packages/source/P/PyNN/PyNN-0.9.5.tar.gz"
)
sha256sums=(
@@ -41,7 +41,7 @@ sha256sums=(
'SKIP'
'SKIP'
'SKIP'
-'eb6172235ace66d825afeb99da90a4fe64796a81e46cfda64c67c542e41f2c47')
+'91af2126b639a6a795bfc2709ac49423278c4794b6d0da143908b9afcb415f80')
pkgver() {
printf "%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s.%s" $(git -C sPyNNaker rev-list --count HEAD) $(git -C sPyNNaker rev-parse --short HEAD) $(git -C SpiNNFrontEndCommon rev-list --count HEAD) $(git -C SpiNNFrontEndCommon rev-parse --short HEAD) $(git -C spinn_common rev-list --count HEAD) $(git -C spinn_common rev-parse --short HEAD) $(git -C spinnaker_tools rev-list --count HEAD) $(git -C spinnaker_tools rev-parse --short HEAD) $(git -C SpiNNakerGraphFrontEnd rev-list --count HEAD) $(git -C SpiNNakerGraphFrontEnd rev-parse --short HEAD) $(git -C spynnaker8 rev-list --count HEAD) $(git -C spynnaker8 rev-parse --short HEAD) $(git -C spalloc rev-list --count HEAD) $(git -C spalloc rev-parse --short HEAD) $(git -C SpiNNaker_DataSpecification rev-list --count HEAD) $(git -C SpiNNaker_DataSpecification rev-parse --short HEAD) $(git -C SpiNNaker_PACMAN rev-list --count HEAD) $(git -C SpiNNaker_PACMAN rev-parse --short HEAD) $(git -C SpiNNMachine rev-list --count HEAD) $(git -C SpiNNMachine rev-parse --short HEAD) $(git -C SpiNNMan rev-list --count HEAD) $(git -C SpiNNMan rev-parse --short HEAD) $(git -C SpiNNStorageHandlers rev-list --count HEAD) $(git -C SpiNNStorageHandlers rev-parse --short HEAD) $(git -C SpiNNUtilities rev-list --count HEAD) $(git -C SpiNNUtilities rev-parse --short HEAD)
@@ -93,8 +93,6 @@ prepare()
}
package_python2-spynnaker-git() {
- depends+=('python2')
-
cd "${srcdir}/spalloc"
python2 setup.py install --root="${pkgdir}"
@@ -122,10 +120,10 @@ package_python2-spynnaker-git() {
cd "${srcdir}/SpiNNakerGraphFrontEnd"
python2 setup.py install --root="${pkgdir}"
- cd "${srcdir}/sPyNNaker"
+ cd "${srcdir}/${_name}"
python2 setup.py install --root="${pkgdir}"
- cd "${srcdir}/PyNN-0.9.4"
+ cd "${srcdir}/PyNN-0.9.5"
python2 setup.py install --root="${pkgdir}"
cd "${srcdir}/spynnaker8"
@@ -141,11 +139,11 @@ package_python2-spynnaker-git() {
currentpath=`pwd`
python2 -c "import sys; import os; sys.path.insert(0,os.getcwd()); import spynnaker8.setup_pynn"
- if [ -d "${pkgdir}/${python2sitepackagesdir}/pyNN/nest/_build/" ]; then
- cd "${pkgdir}/${python2sitepackagesdir}/pyNN/nest/_build/"
- mv pynn_extensions.so "${pkgdir}/usr/lib"
- mv libpynn_extensions.so "${pkgdir}/usr/lib"
- fi
+# if [ -d "${pkgdir}/${python2sitepackagesdir}/pyNN/nest/_build/" ]; then
+# cd "${pkgdir}/${python2sitepackagesdir}/pyNN/nest/_build/"
+# mv pynn_extensions.so "${pkgdir}/usr/lib"
+# mv libpynn_extensions.so "${pkgdir}/usr/lib"
+# fi
cd "${pkgdir}/usr/bin"
mv get_cores_in_run_state get_cores_in_run_state2
@@ -157,8 +155,6 @@ package_python2-spynnaker-git() {
}
package_python-spynnaker-git() {
- depends+=('python')
-
cd "${srcdir}/spalloc"
python setup.py install --root="${pkgdir}"
@@ -186,10 +182,10 @@ package_python-spynnaker-git() {
cd "${srcdir}/SpiNNakerGraphFrontEnd"
python setup.py install --root="${pkgdir}"
- cd "${srcdir}/sPyNNaker"
+ cd "${srcdir}/${_name}"
python setup.py install --root="${pkgdir}"
- cd "${srcdir}/PyNN-0.9.4"
+ cd "${srcdir}/PyNN-0.9.5"
python setup.py install --root="${pkgdir}"
cd "${srcdir}/spynnaker8"
@@ -200,9 +196,9 @@ package_python-spynnaker-git() {
echo -n "directory to install python3 packages: "
echo ${python3sitepackagesdir}
- if [ -d "${pkgdir}/${python3sitepackagesdir}/pyNN/nest/_build/" ]; then
- cd "${pkgdir}/${python3sitepackagesdir}/pyNN/nest/_build/"
- rm pynn_extensions.so
- rm libpynn_extensions.so
- fi
+# if [ -d "${pkgdir}/${python3sitepackagesdir}/pyNN/nest/_build/" ]; then
+# cd "${pkgdir}/${python3sitepackagesdir}/pyNN/nest/_build/"
+# rm pynn_extensions.so
+# rm libpynn_extensions.so
+# fi
}