File tree 2 files changed +7
-10
lines changed
2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -322,10 +322,8 @@ do_clean() {
322
322
cd $SRCDIR /diffpy.srfit &&
323
323
rm -rf build temp diffpy.srreal.egg-info
324
324
) || return $?
325
- ListSkipOrDo clean " src/srfit-sasview" || {
326
- setopt xtrace
327
- cd $SRCDIR /srfit-sasview &&
328
- rm -rf build temp srfit_sasview.egg-info
325
+ ListSkipOrDo clean " src/srfit-sasview (N/A)" || {
326
+ print $MSG_NOCLEAN
329
327
} || return $?
330
328
}
331
329
@@ -425,7 +423,7 @@ do_build() {
425
423
} || return $?
426
424
ListSkipOrDo build " srfit-sasview" || {
427
425
python_easy_install -ZN --prefix=$BASEDIR --exclude-scripts \
428
- ${SRCDIR} /srfit-sasview
426
+ ${SRCDIR} /srfit-sasview/srfit-sasview- * .tar.gz(om[1])
429
427
} || return $?
430
428
}
431
429
Original file line number Diff line number Diff line change @@ -63,9 +63,6 @@ gitrepos=(
63
63
diffpy.srfit
64
64
https://github.com/diffpy/diffpy.srfit.git
65
65
master:v1.1
66
- srfit-sasview
67
- https://github.com/pavoljuhas/sasview.git
68
- srfit-sasview:f5f721d1b1c4afcb4e4fbd9a1e13beff75c05881
69
66
)
70
67
71
68
# Mercurial repositories for the sources in order of
@@ -81,6 +78,8 @@ tarballs=(
81
78
https://pypi.python.org/packages/source/P/PyCifRW/PyCifRW-4.1.1.tar.gz
82
79
periodictable
83
80
https://pypi.python.org/packages/source/p/periodictable/periodictable-1.4.1.tar.gz
81
+ srfit-sasview
82
+ https://github.com/diffpy/srfit-sasview/releases/download/sfsv3.1.2/srfit-sasview-3.1.2.tar.gz
84
83
)
85
84
86
85
# Subversion repositories as (targetpath, URL)
@@ -349,8 +348,8 @@ ListSkipOrBuild diffpy.srreal binary || {
349
348
}
350
349
351
350
ListSkipOrBuild srfit-sasview binary || {
352
- python_easy_install -N --prefix=$PREFIX --exclude-scripts \
353
- ${SRCDIR} /srfit-sasview
351
+ python_easy_install -ZN --prefix=$PREFIX --exclude-scripts \
352
+ ${SRCDIR} /srfit-sasview/srfit-sasview- * .tar.gz(om[1])
354
353
}
355
354
356
355
ListSkipOrBuild diffpy.srfit binary || {
You can’t perform that action at this time.
0 commit comments