Skip to content

Commit ff24f40

Browse files
committed
Use tarball package srfit-sasview 3.1.2.
1 parent 2b36c7b commit ff24f40

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

Diff for: diffpy-cmi/install

+3-5
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,8 @@ do_clean() {
322322
cd $SRCDIR/diffpy.srfit &&
323323
rm -rf build temp diffpy.srreal.egg-info
324324
) || 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
329327
} || return $?
330328
}
331329

@@ -425,7 +423,7 @@ do_build() {
425423
} || return $?
426424
ListSkipOrDo build "srfit-sasview" || {
427425
python_easy_install -ZN --prefix=$BASEDIR --exclude-scripts \
428-
${SRCDIR}/srfit-sasview
426+
${SRCDIR}/srfit-sasview/srfit-sasview-*.tar.gz(om[1])
429427
} || return $?
430428
}
431429

Diff for: diffpy-cmi/makedist

+4-5
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ gitrepos=(
6363
diffpy.srfit
6464
https://github.com/diffpy/diffpy.srfit.git
6565
master:v1.1
66-
srfit-sasview
67-
https://github.com/pavoljuhas/sasview.git
68-
srfit-sasview:f5f721d1b1c4afcb4e4fbd9a1e13beff75c05881
6966
)
7067

7168
# Mercurial repositories for the sources in order of
@@ -81,6 +78,8 @@ tarballs=(
8178
https://pypi.python.org/packages/source/P/PyCifRW/PyCifRW-4.1.1.tar.gz
8279
periodictable
8380
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
8483
)
8584

8685
# Subversion repositories as (targetpath, URL)
@@ -349,8 +348,8 @@ ListSkipOrBuild diffpy.srreal binary || {
349348
}
350349

351350
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])
354353
}
355354

356355
ListSkipOrBuild diffpy.srfit binary || {

0 commit comments

Comments
 (0)