Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pari support SAGE_SPKG_INSTALL_DOCS #10830

Closed
jasongrout opened this issue Feb 23, 2011 · 12 comments
Closed

Make pari support SAGE_SPKG_INSTALL_DOCS #10830

jasongrout opened this issue Feb 23, 2011 · 12 comments

Comments

@jasongrout
Copy link
Member

This ticket implements #10823 for pari. New spkg at  http://sage.math.washington.edu/home/jason/spkg-docs/pari-2.4.3.alpha.p6.spkg

Component: packages: standard

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/10830

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Mar 1, 2011

comment:2

See comments on #10828

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Mar 1, 2011

Reviewer: David Kirkby

@jasongrout
Copy link
Member Author

Attachment: 10830.patch.gz

FYI Only---already applied to spkg.

@jasongrout
Copy link
Member Author

comment:3

New spkg up.

@jasongrout

This comment has been minimized.

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Mar 2, 2011

comment:4

The '-r' is unnecessary on the 'cp' command.

I think I know what you are trying to achieve, but be warned this syntax would never work if there were pdf files in sub-directories. Luckily in this case there are not, so a simple 'cp', with no options, will do.

If there were however any PDFs in sub-directories, and it was not possible to do a simple cp -r, because of other files, then one would probably use 'find' to locate the PDF files and tar to copy them from one place and put them in another. The syntax for doing this is non-trivial, and would be something like that below, where one:

  • Uses 'find' to find all the PDF files.
  • Uses 'tar' to create an archive of the PDF files, but instead of writing it to an intermediate file, one writes the archive on standard output.
  • Uses 'cd' to change to the directory where the files need to be extracted.
  • Uses 'tar', which reads from standard input, to extract the files written by the other tar.
tar cf - `find doc -name '*.pdf'` | ( cd "$SAGE_ROOT/local/share/doc/pari"; tar xfp -)

Note the above is untested.

In this case, simply remove the '-r' and what you have will be get a positive review.

Dave

@jasongrout
Copy link
Member Author

comment:5

Good catch! The -r was mistakenly copied. There are no subdirectories in this case.

@jasongrout
Copy link
Member Author

comment:6

See #11197 for building docs after sage is built.

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe
Copy link
Contributor

mkoeppe commented Dec 2, 2021

comment:11

outdated, should close

@mkoeppe
Copy link
Contributor

mkoeppe commented Dec 2, 2021

Changed reviewer from David Kirkby to none

@mkoeppe
Copy link
Contributor

mkoeppe commented Dec 2, 2021

Changed author from Jason Grout to none

@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 2, 2021
@dimpase
Copy link
Member

dimpase commented Dec 2, 2021

Reviewer: Dima Pasechnik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants