Re: RFS sagemath-database-* and pynac

2013-03-19 Thread Julien Puydt

Le 18/03/2013 23:42, Anton Gladky a écrit :

2013/3/18 Julien Puydtjpu...@free.fr:

I don't see what I can do for that :-/


Just a proposal for dfsg-packing script:
sqlite3 graphs.db .dump  graphs.dump


Done.


And then, in dh_auto_configure, for example:
cat graphs.dump  | sqlite3 graphs.db


I think I wrote it like:
sqlite3 src/graphs.db  src/graphs.dump
in override_dh_auto_build and in override_dh_auto_clean, I remove 
src/graphs.db.


Anyway, there's a new git repository for sagemath-database-graphs 
(again), and I uploaded the package to mentors too.


Snark on #debian-science


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51481b4b.6010...@laposte.net



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Anton Gladky
Hi Julien,

thanks for working on sage. It seems, that packages are ok, but from  my
point of view all orig.tar.gz should be repacked without .hg-directory,
as there are some binaries inside.

sagemath-database-graphs has also a binary-database:
src/graphs.db. It is not allowed.

Best,

Anton


On 03/18/2013 11:14 AM, Julien Puydt wrote:
 sagemath-database-conway-polynomials
 sagemath-database-elliptic-curves
 sagemath-database-graphs
 sagemath-database-polytopes



signature.asc
Description: OpenPGP digital signature


Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Julien Puydt

Le 18/03/2013 19:06, Anton Gladky a écrit :

thanks for working on sage. It seems, that packages are ok, but from  my
point of view all orig.tar.gz should be repacked without .hg-directory,
as there are some binaries inside.


H... that is the case of all the sagemath-database-* packages, as 
they're basically repackaging of the sage spkg (which *are* hg directories).


So how should I proceed? Do I take the upstream sources, untar, rm -r 
.hg, retar and use that for git-import-orig? If so, I guess I should 
document that somewhere!


Snark on #debian-science


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51476cca.6080...@laposte.net



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Anton Gladky
uydt julien.pu...@laposte.net:
 So how should I proceed? Do I take the upstream sources, untar, rm -r .hg,
 retar and use that for git-import-orig? If so, I guess I should document
 that somewhere!

I think yes. But you should also add dfsg into the version number,


-- 
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALF6qJktAgAh8pNE+jZMN8EyBbsWx51ZvTTQMf=kdu-2cmc...@mail.gmail.com



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Tobias Hansen
Am 18.03.2013 20:54, schrieb Anton Gladky:
 uydt julien.pu...@laposte.net:
 So how should I proceed? Do I take the upstream sources, untar, rm -r .hg,
 retar and use that for git-import-orig? If so, I guess I should document
 that somewhere!
 
 I think yes. But you should also add dfsg into the version number,
 
 

Unfortunately there is no standard way to do this yet:
http://cstamas.hu/blog/posts/Standard_mechanism_for_repacking_upstream_tarballs_in_debian/

I think it's good to document the repacking process by implementing it
as a target in debian/rules and mentioning that in debian/README.source.

Cheers,
Tobias


-- 
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/514774bc.3090...@debian.org



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Julien Puydt

Le 18/03/2013 20:54, Anton Gladky a écrit :

uydtjulien.pu...@laposte.net:

So how should I proceed? Do I take the upstream sources, untar, rm -r .hg,
retar and use that for git-import-orig? If so, I guess I should document
that somewhere!


I think yes. But you should also add dfsg into the version number,


I'll turn whatever_3.14.orig.tar.bz2 into whatever_3.14+dfsg.orig.tar.bz2.

I intend to:
(1) put the debian directories aside,
(2) nuke the repositories,
(3) recreate empty ones,
(4) git-import-orig the dfsg sources
(5) put back the debian directories.

We loose history, but there's not much in it.

Is that ok?

Snark on #debian-science


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51477540.9060...@laposte.net



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Julien Puydt

Le 18/03/2013 21:10, Tobias Hansen a écrit :

Am 18.03.2013 20:54, schrieb Anton Gladky:

uydtjulien.pu...@laposte.net:

So how should I proceed? Do I take the upstream sources, untar, rm -r .hg,
retar and use that for git-import-orig? If so, I guess I should document
that somewhere!


I think yes. But you should also add dfsg into the version number,


Unfortunately there is no standard way to do this yet:
http://cstamas.hu/blog/posts/Standard_mechanism_for_repacking_upstream_tarballs_in_debian/

I think it's good to document the repacking process by implementing it
as a target in debian/rules and mentioning that in debian/README.source.


It looks gross ; I'll do the debian/README.source explanation and see 
what I can do with my watch files.


Snark on #debian-science


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/514776dc.60...@laposte.net



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Julien Puydt

Le 18/03/2013 21:12, Julien Puydt a écrit :

We loose history,


Should be lose.

I saw too many native-speakers make the mistake :-P

Snark on #debian-science


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51477b16.4090...@laposte.net



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Anton Gladky
2013/3/18 Julien Puydt julien.pu...@laposte.net:

 We loose history, but there's not much in it.

 Is that ok?

There are just several commits. No big deal.


-- 
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALF6qJnQBX06kqXmgUWC4gDGhOVBv+MX9r0R=mawps++-q_...@mail.gmail.com



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Julien Puydt

Le 18/03/2013 19:06, Anton Gladky a écrit :

thanks for working on sage. It seems, that packages are ok, but from  my
point of view all orig.tar.gz should be repacked without .hg-directory,
as there are some binaries inside.


I did the modification to the four sagemath-database-* packages.

Snark on #debian-science


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51478f79.5030...@free.fr



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Julien Puydt

Le 18/03/2013 19:06, Anton Gladky a écrit :

sagemath-database-graphs has also a binary-database:
src/graphs.db. It is not allowed.


I don't see what I can do for that :-/

Snark on #debian-science


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51478f97.5000...@free.fr



Re: RFS sagemath-database-* and pynac

2013-03-18 Thread Anton Gladky
2013/3/18 Julien Puydt jpu...@free.fr:
 I don't see what I can do for that :-/

Just a proposal for dfsg-packing script:
sqlite3 graphs.db .dump  graphs.dump

And then, in dh_auto_configure, for example:
cat graphs.dump  | sqlite3 graphs.db

Anton


-- 
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALF6qJm-X6iTWVag5Yk3whUip7eqEkUosTVmBXb2WG-wmAE=m...@mail.gmail.com