parent
138392e2ea
commit
174492478d
@ -1 +0,0 @@
|
||||
DIST xarchiver-0.5.2.tar.bz2 755418 SHA256 cea932ff9d505969201fd502470bbebbc5726ab3d6765e142fc8295aa677ad2a SHA512 05235f364cfb8f5acc1d3dbb5c581c0d55f72dbc08fd4bc166649740d78e7c76c87b61e64ce5651011a3c1cace369ffd24cd3b1759620be629f9abb6dc29bc5f WHIRLPOOL 97967e6c5d4c19a2b65fd08cdeb15cf649cace15bcf91d49c9e3c1e0cbbfe622851141410f198fd2708d2fc391443cd705f30239f4bb2dfd208f67093624a4b2
|
@ -1,314 +0,0 @@
|
||||
Patch from: http://slackbuilds.org/repository/13.1/system/xarchiver/
|
||||
|
||||
Not submitted upstream because the upstream author rewrote the code. So, this
|
||||
patch may be dropped when/if upstream releases a new version
|
||||
|
||||
diff -Nur xarchiver-0.5.2.orig/src/add_dialog.c xarchiver-0.5.2/src/add_dialog.c
|
||||
--- xarchiver-0.5.2.orig/src/add_dialog.c 2008-11-10 04:41:31.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/add_dialog.c 2009-11-30 13:17:54.983349491 -0600
|
||||
@@ -209,7 +209,7 @@
|
||||
else
|
||||
gtk_widget_set_size_request (add_dialog->dialog1,530,420);
|
||||
|
||||
- if (archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA || archive->type == XARCHIVETYPE_LZOP)
|
||||
+ if (archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA || archive->type == XARCHIVETYPE_XZ || archive->type == XARCHIVETYPE_LZOP)
|
||||
gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(add_dialog->filechooserwidget1),FALSE);
|
||||
else
|
||||
gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(add_dialog->filechooserwidget1),TRUE);
|
||||
@@ -222,7 +222,7 @@
|
||||
else
|
||||
gtk_widget_set_sensitive(add_dialog->store_path,TRUE);
|
||||
/* 7z doesn't appear to let the user chooses if storing full paths */
|
||||
- if (archive->type == XARCHIVETYPE_7ZIP || archive->type == XARCHIVETYPE_LZOP || archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA)
|
||||
+ if (archive->type == XARCHIVETYPE_7ZIP || archive->type == XARCHIVETYPE_LZOP || archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA || archive->type == XARCHIVETYPE_XZ )
|
||||
{
|
||||
flag = FALSE;
|
||||
}
|
||||
@@ -244,7 +244,7 @@
|
||||
flag = TRUE;
|
||||
gtk_widget_set_sensitive(add_dialog->solid_archive,flag);
|
||||
|
||||
- if (archive->type != XARCHIVETYPE_TAR && archive->type != XARCHIVETYPE_TAR_GZ && archive->type != XARCHIVETYPE_TAR_LZMA && archive->type != XARCHIVETYPE_TAR_BZ2 && archive->type != XARCHIVETYPE_TAR_LZOP)
|
||||
+ if (archive->type != XARCHIVETYPE_TAR && archive->type != XARCHIVETYPE_TAR_GZ && archive->type != XARCHIVETYPE_TAR_LZMA && archive->type != XARCHIVETYPE_TAR_XZ && archive->type != XARCHIVETYPE_TAR_BZ2 && archive->type != XARCHIVETYPE_TAR_LZOP)
|
||||
{
|
||||
flag = TRUE;
|
||||
if (archive->type == XARCHIVETYPE_7ZIP)
|
||||
@@ -306,7 +306,7 @@
|
||||
g_signal_connect (G_OBJECT (add_dialog->compression_value),"value-changed",G_CALLBACK (fix_adjustment_value), NULL);
|
||||
gtk_tooltips_set_tip (add_dialog->option_tooltip,add_dialog->compression_scale, compression_msg, NULL );
|
||||
|
||||
- if (archive->type == XARCHIVETYPE_TAR || archive->type == XARCHIVETYPE_TAR_GZ || archive->type == XARCHIVETYPE_TAR_LZMA || archive->type == XARCHIVETYPE_TAR_BZ2 || archive->type == XARCHIVETYPE_TAR_LZOP)
|
||||
+ if (archive->type == XARCHIVETYPE_TAR || archive->type == XARCHIVETYPE_TAR_GZ || archive->type == XARCHIVETYPE_TAR_LZMA || archive->type == XARCHIVETYPE_TAR_XZ || archive->type == XARCHIVETYPE_TAR_BZ2 || archive->type == XARCHIVETYPE_TAR_LZOP)
|
||||
flag = FALSE;
|
||||
else
|
||||
flag = TRUE;
|
||||
diff -Nur xarchiver-0.5.2.orig/src/archive.h xarchiver-0.5.2/src/archive.h
|
||||
--- xarchiver-0.5.2.orig/src/archive.h 2008-11-07 02:49:41.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/archive.h 2009-11-30 13:17:54.984326164 -0600
|
||||
@@ -30,6 +30,7 @@
|
||||
XARCHIVETYPE_BZIP2,
|
||||
XARCHIVETYPE_GZIP,
|
||||
XARCHIVETYPE_LZMA,
|
||||
+ XARCHIVETYPE_XZ,
|
||||
XARCHIVETYPE_LZOP,
|
||||
XARCHIVETYPE_RAR,
|
||||
XARCHIVETYPE_RPM,
|
||||
@@ -37,6 +38,7 @@
|
||||
XARCHIVETYPE_TAR_BZ2,
|
||||
XARCHIVETYPE_TAR_GZ,
|
||||
XARCHIVETYPE_TAR_LZMA,
|
||||
+ XARCHIVETYPE_TAR_XZ,
|
||||
XARCHIVETYPE_TAR_LZOP,
|
||||
XARCHIVETYPE_ZIP,
|
||||
XARCHIVETYPE_LHA,
|
||||
diff -Nur xarchiver-0.5.2.orig/src/bzip2.c xarchiver-0.5.2/src/bzip2.c
|
||||
--- xarchiver-0.5.2.orig/src/bzip2.c 2008-11-10 05:17:48.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/bzip2.c 2009-11-30 13:17:54.984326164 -0600
|
||||
@@ -54,6 +54,15 @@
|
||||
archive->extract = extract[archive->type];
|
||||
xa_open_tar_compressed_file(archive);
|
||||
}
|
||||
+ else if (g_str_has_suffix(archive->escaped_path,".tar.xz") || g_str_has_suffix (archive->escaped_path,".txz"))
|
||||
+ {
|
||||
+ archive->type = XARCHIVETYPE_TAR_XZ;
|
||||
+ archive->format = "TAR.XZ";
|
||||
+ archive->delete = delete[archive->type];
|
||||
+ archive->add = add[archive->type];
|
||||
+ archive->extract = extract[archive->type];
|
||||
+ xa_open_tar_compressed_file(archive);
|
||||
+ }
|
||||
else if (g_str_has_suffix(archive->escaped_path,".tar.lzop") ||
|
||||
g_str_has_suffix (archive->escaped_path,".tzo") ||
|
||||
g_str_has_suffix(archive->escaped_path,".tar.lzo"))
|
||||
@@ -85,6 +94,12 @@
|
||||
executable = "lzma ";
|
||||
len = 5;
|
||||
}
|
||||
+ else if (archive->type == XARCHIVETYPE_XZ)
|
||||
+ {
|
||||
+ archive->format = "XZ";
|
||||
+ executable = "xz ";
|
||||
+ len = 5;
|
||||
+ }
|
||||
else if (archive->type == XARCHIVETYPE_LZOP)
|
||||
{
|
||||
archive->format = "LZOP";
|
||||
@@ -163,6 +178,8 @@
|
||||
command = g_strconcat(tar," tfjv ",archive->escaped_path,NULL);
|
||||
else if (archive->type == XARCHIVETYPE_TAR_LZMA)
|
||||
command = g_strconcat(tar," tv --use-compress-program=lzma -f ",archive->escaped_path,NULL);
|
||||
+ else if (archive->type == XARCHIVETYPE_TAR_XZ)
|
||||
+ command = g_strconcat(tar," tv --use-compress-program=xz -f ",archive->escaped_path,NULL);
|
||||
else if (archive->type == XARCHIVETYPE_TAR_LZOP)
|
||||
command = g_strconcat(tar," tv --use-compress-program=lzop -f ",archive->escaped_path,NULL);
|
||||
/* else fail? */
|
||||
@@ -205,6 +222,11 @@
|
||||
executable = "lzma ";
|
||||
len = 5;
|
||||
}
|
||||
+ else if (archive->type == XARCHIVETYPE_XZ)
|
||||
+ {
|
||||
+ executable = "xz ";
|
||||
+ len = 5;
|
||||
+ }
|
||||
else if (archive->type == XARCHIVETYPE_LZOP)
|
||||
{
|
||||
executable = "lzop ";
|
||||
diff -Nur xarchiver-0.5.2.orig/src/extract_dialog.c xarchiver-0.5.2/src/extract_dialog.c
|
||||
--- xarchiver-0.5.2.orig/src/extract_dialog.c 2008-11-10 04:28:11.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/extract_dialog.c 2009-11-30 13:17:54.985326653 -0600
|
||||
@@ -815,6 +815,11 @@
|
||||
archive->type = XARCHIVETYPE_TAR_LZMA;
|
||||
archive->extract = extract[XARCHIVETYPE_TAR_LZMA];
|
||||
}
|
||||
+ else if (g_str_has_suffix(archive->escaped_path,".tar.xz")|| g_str_has_suffix (archive->escaped_path,".txz"))
|
||||
+ {
|
||||
+ archive->type = XARCHIVETYPE_TAR_XZ;
|
||||
+ archive->extract = extract[XARCHIVETYPE_TAR_XZ];
|
||||
+ }
|
||||
else if (g_str_has_suffix(archive->escaped_path,".tar.lzop") ||
|
||||
g_str_has_suffix (archive->escaped_path,".tzo") ||
|
||||
g_str_has_suffix(archive->escaped_path,".tar.lzo"))
|
||||
diff -Nur xarchiver-0.5.2.orig/src/main.c xarchiver-0.5.2/src/main.c
|
||||
--- xarchiver-0.5.2.orig/src/main.c 2008-11-10 05:21:43.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/main.c 2009-11-30 13:17:54.986351656 -0600
|
||||
@@ -296,9 +296,10 @@
|
||||
open_archive[XARCHIVETYPE_BZIP2] = &xa_open_bzip2_lzma;
|
||||
open_archive[XARCHIVETYPE_GZIP] = &xa_open_gzip;
|
||||
open_archive[XARCHIVETYPE_LZMA] = &xa_open_bzip2_lzma;
|
||||
+ open_archive[XARCHIVETYPE_XZ] = &xa_open_bzip2_lzma;
|
||||
open_archive[XARCHIVETYPE_RAR] = &xa_open_rar;
|
||||
open_archive[XARCHIVETYPE_RPM] = &xa_open_rpm;
|
||||
- open_archive[XARCHIVETYPE_TAR] = open_archive[XARCHIVETYPE_TAR_BZ2] = open_archive[XARCHIVETYPE_TAR_GZ] = open_archive[XARCHIVETYPE_TAR_LZMA] = open_archive[XARCHIVETYPE_TAR_LZOP] = &xa_open_tar;
|
||||
+ open_archive[XARCHIVETYPE_TAR] = open_archive[XARCHIVETYPE_TAR_BZ2] = open_archive[XARCHIVETYPE_TAR_GZ] = open_archive[XARCHIVETYPE_TAR_LZMA] = open_archive[XARCHIVETYPE_TAR_XZ] = open_archive[XARCHIVETYPE_TAR_LZOP] = &xa_open_tar;
|
||||
open_archive[XARCHIVETYPE_ZIP] = &xa_open_zip;
|
||||
open_archive[XARCHIVETYPE_LHA] = &xa_open_lha;
|
||||
open_archive[XARCHIVETYPE_LZOP] = &xa_open_bzip2_lzma;
|
||||
@@ -310,6 +311,7 @@
|
||||
delete[XARCHIVETYPE_BZIP2] = 0;
|
||||
delete[XARCHIVETYPE_GZIP] = 0;
|
||||
delete[XARCHIVETYPE_LZMA] = 0;
|
||||
+ delete[XARCHIVETYPE_XZ] = 0;
|
||||
delete[XARCHIVETYPE_RAR] = &xa_rar_delete;
|
||||
delete[XARCHIVETYPE_RPM] = 0;
|
||||
delete[XARCHIVETYPE_TAR] = delete[XARCHIVETYPE_TAR_BZ2] = delete[XARCHIVETYPE_TAR_GZ] = delete[XARCHIVETYPE_TAR_LZMA] = delete[XARCHIVETYPE_TAR_LZOP] = &xa_tar_delete;
|
||||
@@ -325,7 +327,7 @@
|
||||
add[XARCHIVETYPE_BZIP2] = add[XARCHIVETYPE_GZIP] = add[XARCHIVETYPE_LZMA] = &xa_tar_add;
|
||||
add[XARCHIVETYPE_RAR] = &xa_rar_add;
|
||||
add[XARCHIVETYPE_RPM] = 0;
|
||||
- add[XARCHIVETYPE_TAR] = add[XARCHIVETYPE_TAR_BZ2] = add[XARCHIVETYPE_TAR_GZ] = add[XARCHIVETYPE_TAR_LZMA] = add[XARCHIVETYPE_TAR_LZOP] = &xa_tar_add;
|
||||
+ add[XARCHIVETYPE_TAR] = add[XARCHIVETYPE_TAR_BZ2] = add[XARCHIVETYPE_TAR_GZ] = add[XARCHIVETYPE_TAR_LZMA] = add[XARCHIVETYPE_TAR_XZ] = add[XARCHIVETYPE_TAR_LZOP] = &xa_tar_add;
|
||||
add[XARCHIVETYPE_ZIP] = &xa_zip_add;
|
||||
add[XARCHIVETYPE_LHA] = &xa_lha_add;
|
||||
add[XARCHIVETYPE_LZOP] = &xa_tar_add;
|
||||
@@ -337,7 +339,7 @@
|
||||
extract[XARCHIVETYPE_BZIP2] = extract[XARCHIVETYPE_GZIP] = extract[XARCHIVETYPE_LZMA] = &xa_tar_extract;
|
||||
extract[XARCHIVETYPE_RAR] = &xa_rar_extract;
|
||||
extract[XARCHIVETYPE_RPM] = &xa_rpm_extract;
|
||||
- extract[XARCHIVETYPE_TAR] = extract[XARCHIVETYPE_TAR_BZ2] = extract[XARCHIVETYPE_TAR_GZ] = extract[XARCHIVETYPE_TAR_LZMA] = extract[XARCHIVETYPE_TAR_LZOP] = &xa_tar_extract;
|
||||
+ extract[XARCHIVETYPE_TAR] = extract[XARCHIVETYPE_TAR_BZ2] = extract[XARCHIVETYPE_TAR_GZ] = extract[XARCHIVETYPE_TAR_LZMA] = extract[XARCHIVETYPE_TAR_XZ] = extract[XARCHIVETYPE_TAR_LZOP] = &xa_tar_extract;
|
||||
extract[XARCHIVETYPE_ZIP] = &xa_zip_extract;
|
||||
extract[XARCHIVETYPE_LHA] = &xa_lha_extract;
|
||||
extract[XARCHIVETYPE_LZOP] = &xa_tar_extract;
|
||||
@@ -348,7 +350,7 @@
|
||||
test[XARCHIVETYPE_DEB] = test[XARCHIVETYPE_BZIP2] = test[XARCHIVETYPE_GZIP] = test[XARCHIVETYPE_LZMA] = 0;
|
||||
test[XARCHIVETYPE_RAR] = &xa_rar_test;
|
||||
test[XARCHIVETYPE_RPM] = 0;
|
||||
- test[XARCHIVETYPE_TAR] = test[XARCHIVETYPE_TAR_BZ2] = test[XARCHIVETYPE_TAR_GZ] = test[XARCHIVETYPE_TAR_LZMA] = test[XARCHIVETYPE_TAR_LZOP] = 0;
|
||||
+ test[XARCHIVETYPE_TAR] = test[XARCHIVETYPE_TAR_BZ2] = test[XARCHIVETYPE_TAR_GZ] = test[XARCHIVETYPE_TAR_LZMA] = test[XARCHIVETYPE_TAR_XZ] = test[XARCHIVETYPE_TAR_LZOP] = 0;
|
||||
test[XARCHIVETYPE_ZIP] = &xa_zip_test;
|
||||
test[XARCHIVETYPE_LHA] = &xa_lha_test;
|
||||
test[XARCHIVETYPE_LZOP] = 0;
|
||||
@@ -392,6 +394,14 @@
|
||||
g_free (absolute_path);
|
||||
}
|
||||
|
||||
+ absolute_path = g_find_program_in_path("xz");
|
||||
+ if ( absolute_path )
|
||||
+ {
|
||||
+ ArchiveType = g_list_append(ArchiveType, "xz");
|
||||
+ ArchiveSuffix = g_list_append(ArchiveSuffix, "*.xz");
|
||||
+ g_free (absolute_path);
|
||||
+ }
|
||||
+
|
||||
absolute_path = g_find_program_in_path("lzop");
|
||||
if ( absolute_path )
|
||||
{
|
||||
@@ -460,6 +470,11 @@
|
||||
ArchiveType = g_list_append(ArchiveType, "tar.lzma");
|
||||
ArchiveSuffix = g_list_append(ArchiveSuffix, "*.tlz");
|
||||
}
|
||||
+ if ( g_list_find ( ArchiveType , "xz") )
|
||||
+ {
|
||||
+ ArchiveType = g_list_append(ArchiveType, "tar.xz");
|
||||
+ ArchiveSuffix = g_list_append(ArchiveSuffix, "*.txz");
|
||||
+ }
|
||||
if ( g_list_find ( ArchiveType , "lzo") )
|
||||
{
|
||||
ArchiveType = g_list_append(ArchiveType, "tar.lzo");
|
||||
@@ -528,6 +543,8 @@
|
||||
archive->type = XARCHIVETYPE_TAR_GZ;
|
||||
else if ( g_str_has_suffix ( archive->escaped_path , ".tar.lzma") || g_str_has_suffix ( archive->escaped_path , ".tlz") )
|
||||
archive->type = XARCHIVETYPE_TAR_LZMA;
|
||||
+ else if ( g_str_has_suffix ( archive->escaped_path , ".tar.xz") || g_str_has_suffix ( archive->escaped_path , ".txz") )
|
||||
+ archive->type = XARCHIVETYPE_TAR_XZ;
|
||||
else if ( g_str_has_suffix ( archive->escaped_path , ".tar.lzo") ||
|
||||
g_str_has_suffix ( archive->escaped_path , ".tzo") ||
|
||||
g_str_has_suffix ( archive->escaped_path , ".tar.lzop"))
|
||||
diff -Nur xarchiver-0.5.2.orig/src/new_dialog.c xarchiver-0.5.2/src/new_dialog.c
|
||||
--- xarchiver-0.5.2.orig/src/new_dialog.c 2008-11-11 02:28:46.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/new_dialog.c 2009-11-30 13:17:54.987349701 -0600
|
||||
@@ -202,6 +202,8 @@
|
||||
type = XARCHIVETYPE_GZIP;
|
||||
else if (strcmp ( ComboArchiveType,"lzma") == 0)
|
||||
type = XARCHIVETYPE_LZMA;
|
||||
+ else if (strcmp ( ComboArchiveType,"xz") == 0)
|
||||
+ type = XARCHIVETYPE_XZ;
|
||||
else if (strcmp ( ComboArchiveType,"lzo") == 0)
|
||||
type = XARCHIVETYPE_LZOP;
|
||||
else if (strcmp ( ComboArchiveType,"rar") == 0)
|
||||
@@ -214,6 +216,8 @@
|
||||
type = XARCHIVETYPE_TAR_GZ;
|
||||
else if (strcmp ( ComboArchiveType,"tar.lzma") == 0)
|
||||
type = XARCHIVETYPE_TAR_LZMA;
|
||||
+ else if (strcmp ( ComboArchiveType,"tar.xz") == 0)
|
||||
+ type = XARCHIVETYPE_TAR_XZ;
|
||||
else if (strcmp ( ComboArchiveType,"tar.lzo") == 0)
|
||||
type = XARCHIVETYPE_TAR_LZOP;
|
||||
else if (strcmp ( ComboArchiveType,"jar") == 0 || strcmp ( ComboArchiveType,"zip") == 0 )
|
||||
diff -Nur xarchiver-0.5.2.orig/src/tar.c xarchiver-0.5.2/src/tar.c
|
||||
--- xarchiver-0.5.2.orig/src/tar.c 2008-11-10 04:28:34.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/tar.c 2009-11-30 13:19:34.037344951 -0600
|
||||
@@ -242,6 +242,17 @@
|
||||
files->str , NULL );
|
||||
break;
|
||||
|
||||
+ case XARCHIVETYPE_TAR_XZ:
|
||||
+ if ( g_file_test ( archive->escaped_path , G_FILE_TEST_EXISTS ) )
|
||||
+ xa_add_delete_bzip2_gzip_lzma_compressed_tar (files,archive,1);
|
||||
+ else
|
||||
+ command = g_strconcat (tar, " ",
|
||||
+ archive->add_recurse ? "" : "--no-recursion ",
|
||||
+ archive->remove_files ? "--remove-files " : "",
|
||||
+ "--use-compress-program=xz -cvvf ",archive->escaped_path,
|
||||
+ files->str , NULL );
|
||||
+ break;
|
||||
+
|
||||
case XARCHIVETYPE_TAR_LZOP:
|
||||
if ( g_file_test ( archive->escaped_path , G_FILE_TEST_EXISTS ) )
|
||||
xa_add_delete_bzip2_gzip_lzma_compressed_tar (files,archive,1);
|
||||
@@ -449,6 +460,10 @@
|
||||
executable = "lzma -f ";
|
||||
filename = "dummy.lzma";
|
||||
break;
|
||||
+ case XARCHIVETYPE_TAR_XZ:
|
||||
+ executable = "xz -f ";
|
||||
+ filename = "dummy.xz";
|
||||
+ break;
|
||||
case XARCHIVETYPE_TAR_LZOP:
|
||||
executable = "lzop -f ";
|
||||
filename = "dummy.lzo";
|
||||
diff -Nur xarchiver-0.5.2.orig/src/window.c xarchiver-0.5.2/src/window.c
|
||||
--- xarchiver-0.5.2.orig/src/window.c 2008-11-11 02:31:45.000000000 -0600
|
||||
+++ xarchiver-0.5.2/src/window.c 2009-11-30 13:17:54.990326583 -0600
|
||||
@@ -1125,6 +1125,8 @@
|
||||
xx = XARCHIVETYPE_GZIP;
|
||||
else if (memcmp ( magic,"\x5d\x00\x00\x80",4) == 0)
|
||||
xx = XARCHIVETYPE_LZMA;
|
||||
+ else if (memcmp ( magic,"\xFD7zXZ\x00\0x00",3) || memcmp ( magic, "\xFD7zXZ\x00\0x10",3) == 0)
|
||||
+ xx = XARCHIVETYPE_XZ;
|
||||
else if (memcmp ( magic,"\211LZO",4) == 0)
|
||||
xx = XARCHIVETYPE_LZOP;
|
||||
else if (memcmp ( magic,"\xed\xab\xee\xdb",4) == 0)
|
||||
@@ -1462,6 +1464,7 @@
|
||||
case XARCHIVETYPE_GZIP:
|
||||
case XARCHIVETYPE_BZIP2:
|
||||
case XARCHIVETYPE_LZMA:
|
||||
+ case XARCHIVETYPE_XZ:
|
||||
case XARCHIVETYPE_LZOP:
|
||||
case XARCHIVETYPE_RPM:
|
||||
pos = 3;
|
||||
@@ -1481,6 +1484,7 @@
|
||||
case XARCHIVETYPE_TAR_GZ:
|
||||
case XARCHIVETYPE_TAR_BZ2:
|
||||
case XARCHIVETYPE_TAR_LZMA:
|
||||
+ case XARCHIVETYPE_TAR_XZ:
|
||||
case XARCHIVETYPE_TAR_LZOP:
|
||||
case XARCHIVETYPE_TAR:
|
||||
case XARCHIVETYPE_ZIP:
|
||||
@@ -1525,6 +1529,7 @@
|
||||
case XARCHIVETYPE_GZIP:
|
||||
case XARCHIVETYPE_BZIP2:
|
||||
case XARCHIVETYPE_LZMA:
|
||||
+ case XARCHIVETYPE_XZ:
|
||||
case XARCHIVETYPE_LZOP:
|
||||
case XARCHIVETYPE_RPM:
|
||||
pos = 3;
|
||||
@@ -1544,6 +1549,7 @@
|
||||
case XARCHIVETYPE_TAR_GZ:
|
||||
case XARCHIVETYPE_TAR_BZ2:
|
||||
case XARCHIVETYPE_TAR_LZMA:
|
||||
+ case XARCHIVETYPE_TAR_XZ:
|
||||
case XARCHIVETYPE_TAR_LZOP:
|
||||
case XARCHIVETYPE_TAR:
|
||||
case XARCHIVETYPE_ZIP:
|
@ -1,15 +0,0 @@
|
||||
http://bugzilla.xfce.org/show_bug.cgi?id=5187
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=262519
|
||||
|
||||
--- src/window.c
|
||||
+++ src/window.c
|
||||
@@ -1724,6 +1724,9 @@
|
||||
gtk_tree_selection_selected_foreach (selection,(GtkTreeSelectionForeachFunc) xa_concat_selected_filenames,&names);
|
||||
archive->full_path = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (extract_window->extract_full));
|
||||
archive->overwrite = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (extract_window->overwrite_check));
|
||||
+ gchar *unescaped_extraction_path = archive->extraction_path;
|
||||
+ archive->extraction_path = xa_escape_filename(unescaped_extraction_path, "$'`\"\\!?* ()[]&|:;<>#");
|
||||
+ g_free(unescaped_extraction_path);
|
||||
(*archive->extract) (archive,names);
|
||||
|
||||
g_list_foreach (row_list,(GFunc) gtk_tree_path_free,NULL);
|
@ -1,20 +0,0 @@
|
||||
--- xarchiver-0.5.2-old/src/window.c 2008-11-11 09:31:45.000000000 +0100
|
||||
+++ xarchiver-0.5.2/src/window.c 2009-01-25 16:26:07.000000000 +0100
|
||||
@@ -1447,7 +1447,7 @@
|
||||
GtkTreeIter iter;
|
||||
gint n_elem = 0,pos = 0,dirs = 0;
|
||||
unsigned long int total_size = 0;
|
||||
- unsigned long int size = 0;
|
||||
+ guint64 size = 0;
|
||||
XEntry *entry = NULL;
|
||||
|
||||
path = gtk_tree_path_new_first();
|
||||
@@ -1517,7 +1517,7 @@
|
||||
GtkTreeModel *model;
|
||||
gint selected = 0,pos = 0,dirs = 0;
|
||||
unsigned long int total_size = 0;
|
||||
- unsigned long int size = 0;
|
||||
+ guint64 size = 0;
|
||||
XEntry *entry;
|
||||
|
||||
switch (archive->type)
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>Archive manager for 7zip, arj, bzip2, gzip, iso, rar, lha, deb, rpm, tar and zip formats.</longdescription>
|
||||
</pkgmetadata>
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.2-r3.ebuild,v 1.7 2012/11/28 12:32:35 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit xfconf
|
||||
|
||||
DESCRIPTION="a GTK+ based and advanced archive manager that can be used with Thunar"
|
||||
HOMEPAGE="http://xarchiver.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.16
|
||||
>=x11-libs/gtk+-2.10:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-stack-smash.patch
|
||||
"${FILESDIR}"/${P}-add_xz_support.patch
|
||||
"${FILESDIR}"/${P}-drag-n-drop_escaped_path.patch
|
||||
)
|
||||
|
||||
XFCONF=(
|
||||
$(xfconf_use_debug)
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/COPYING/d' doc/Makefile.in || die
|
||||
xfconf_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
xfconf_src_install DOCDIR="${ED}/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xfconf_pkg_postinst
|
||||
elog "You need external programs for some formats, including"
|
||||
elog "7zip - app-arch/p7zip"
|
||||
elog "arj - app-arch/unarj app-arch/arj"
|
||||
elog "lha - app-arch/lha"
|
||||
elog "lzop - app-arch/lzop"
|
||||
elog "rar - app-arch/unrar app-arch/rar"
|
||||
elog "zip - app-arch/unzip app-arch/zip"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST ccid-1.4.11.tar.bz2 475901 SHA256 04ce7ebc7f591b7542e15d4dcd1c50900d0d86c0639893832f5d6144ffb3c369 SHA512 a158560be415b1b894f447389b27eac37f8753e3aa621841e68982606ebcb18d8175b067f2de8dc3b8cfc8180865c0c3feca0a2ef976b050e82137e5d9ea6923 WHIRLPOOL df0ff0233ab67090a93e3adf50e1986331701fe58b246028f174c7d4fb5f65c77f852e92b4495654c52f9d701c9f64009cad0d0f7a95a4999703b7f3e8257ad0
|
||||
DIST ccid-1.4.13.tar.bz2 482601 SHA256 59756ff279f828778cee575b227b77bbf2c72b2a69bfc79ce849df8fcbea15f0 SHA512 db27029401a88259b1a6fa40c1bcc5f69ff839561c2e84f68af5cdd4e64cf91554e78a354b427ad99efe2a7befa1a4f467796cf9ff7303fdba87becaa76fc533 WHIRLPOOL 44b3d2c3f549568a20efda3fd7b8cd4861ab6f13dd578a32942ed6f1a538c174398ddabbab7132a0477190db24745591a83eb569a8953e790fe671dfe7097bf5
|
||||
DIST ccid-1.4.14.tar.bz2 484659 SHA256 c50b04ac8e800a14246ea42cf37f73bd42fdb3645afb290b7af091f9e15cd146 SHA512 72e9a026689a308a1eb96ab7e31a6af987782e8c66721e1fd0f4eb7b575363309303cdf138863c35e3feda789517122fd6f15cbd4b03bf3ed870a5e7fae9b5ea WHIRLPOOL ddb427f1efa1e5b512fb114b9cf57e92b81a449bc46f6788b8054754c09b7d30491713f76da08fd9272c3803b1f12dfa38269ef501bc7817bd6bd47d3a739115
|
||||
DIST ccid-1.4.8.tar.bz2 470158 SHA256 7aca09fa4b9099e423402fd5df424adbafa502888710d1fda6015b6c1ff637ef SHA512 1b5b56521e2469c23e033141236aae0791d50640f810a012d8420002a56a6929e476a1c8462653909e8939f9439b043a64b247aced7d1f511f96a7dd0071ffa0 WHIRLPOOL d0c51bf360ee63a72646af98e44b4b1940336dcf3400f249b075d8efcabdf650cfbaa6be2656d411195411646c82ac410487b8b274e88457edc8c4e4a23ac15d
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.4.13.ebuild,v 1.1 2013/10/12 20:13:11 flameeyes Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
STUPID_NUM="3959"
|
||||
|
||||
inherit eutils toolchain-funcs udev autotools-utils
|
||||
|
||||
DESCRIPTION="CCID free software driver"
|
||||
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="twinserial +usb"
|
||||
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.8.3
|
||||
usb? ( virtual/libusb:1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? ( virtual/pkgconfig )"
|
||||
|
||||
DOCS=( README AUTHORS )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
LEX=:
|
||||
$(use_enable twinserial)
|
||||
$(use_enable usb libusb)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use kernel_linux; then
|
||||
# note: for eudev support, rules probably will always need to be
|
||||
# installed to /usr
|
||||
|
||||
# ccid >=1.4.11 version changed the rules drastically in a minor
|
||||
# release to nolonger use the pcscd group. Using the old ones in
|
||||
# the mean time.
|
||||
udev_newrules "${FILESDIR}"/92_pcscd_ccid.rules 92-pcsc-ccid.rules
|
||||
fi
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.4.11.ebuild,v 1.1 2013/06/17 15:22:59 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.4.14.ebuild,v 1.1 2013/12/02 21:43:32 flameeyes Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
STUPID_NUM="3920"
|
||||
STUPID_NUM="3971"
|
||||
|
||||
inherit eutils toolchain-funcs udev autotools-utils
|
||||
|
@ -0,0 +1,265 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.9-r9.ebuild,v 1.1 2013/12/02 17:48:18 zerochaos Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cuda eutils flag-o-matic toolchain-funcs pax-utils multilib
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-7"
|
||||
|
||||
DESCRIPTION="fast password cracker"
|
||||
HOMEPAGE="http://www.openwall.com/john/"
|
||||
|
||||
SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.bz2
|
||||
!minimal? ( http://www.openwall.com/john/g/${MY_P}-${JUMBO}.diff.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="cuda custom-cflags -minimal mmx mozilla mpi opencl openmp sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )
|
||||
cuda? ( !minimal )
|
||||
opencl? ( !minimal )
|
||||
mozilla? ( !minimal )"
|
||||
|
||||
DEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )
|
||||
cuda? ( x11-drivers/nvidia-drivers
|
||||
dev-util/nvidia-cuda-toolkit:= )
|
||||
opencl? ( virtual/opencl )
|
||||
mozilla? ( dev-libs/nss dev-libs/nspr )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
elif use ppc; then
|
||||
#if use altivec; then
|
||||
# echo "linux-ppc32-altivec"
|
||||
#else
|
||||
echo "linux-ppc32"
|
||||
#fi
|
||||
elif use ppc64; then
|
||||
#if use altivec; then
|
||||
# echo "linux-ppc32-altivec"
|
||||
#else
|
||||
echo "linux-ppc64"
|
||||
#fi
|
||||
# linux-ppc64-altivec is slightly slower than linux-ppc32-altivec for most hash types.
|
||||
# as per the Makefile comments
|
||||
elif use sparc; then
|
||||
echo "linux-sparc"
|
||||
elif use x86; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use mmx; then
|
||||
echo "linux-x86-mmx"
|
||||
else
|
||||
echo "linux-x86-any"
|
||||
fi
|
||||
elif use ppc-macos; then
|
||||
# force AltiVec, the non-altivec profile contains ancient compiler cruft
|
||||
# if use altivec; then
|
||||
echo "macosx-ppc32-altivec"
|
||||
# else
|
||||
# echo "macosx-ppc32"
|
||||
# fi
|
||||
# for Tiger this can be macosx-ppc64
|
||||
elif use x86-macos; then
|
||||
if use sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
get_john_objs() {
|
||||
echo -n '${JOHN_COMMON_OBJS} '
|
||||
if use opencl; then
|
||||
echo -n '${OCL_OBJS} '
|
||||
fi
|
||||
if use cuda; then
|
||||
echo -n '${CUDA_OBJS}'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
# fix compile on ppc (only needed for jumbo-7)
|
||||
epatch "${FILESDIR}/${P}-ppc-compile-fix.patch"
|
||||
fi
|
||||
|
||||
cd src
|
||||
epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
|
||||
|
||||
if ! use minimal; then
|
||||
sed -e "s/LDFLAGS *= */override LDFLAGS += /" -e "/LDFLAGS/s/-s//" \
|
||||
-e "/LDFLAGS/s/-L[^ ]*//g" -e "/CFLAGS/s/-[IL][^ ]*//g" \
|
||||
-i Makefile || die "sed Makefile failed"
|
||||
sed -i 's#/usr/local#/opt#g' Makefile || die
|
||||
fi
|
||||
sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
|
||||
|
||||
if use cuda; then
|
||||
cuda_src_prepare
|
||||
sed \
|
||||
-e "/^NVCC_FLAGS/s:$: ${NVCCFLAGS}:g" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
|
||||
if use mozilla; then
|
||||
sed -i -e '/HAVE_NSS =/s/^#*//' -e 's/NSS_override//' Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local OMP
|
||||
|
||||
use custom-cflags || strip-flags
|
||||
echo "#define JOHN_SYSTEMWIDE 1" >> config.gentoo
|
||||
echo "#define JOHN_SYSTEMWIDE_HOME \"${EPREFIX}/etc/john\"" >> config.gentoo
|
||||
echo "#define JOHN_SYSTEMWIDE_EXEC \"${EPREFIX}/usr/libexec/john\"" >> config.gentoo
|
||||
append-flags -fPIC -fPIE
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
#this stuff was all stolen from the Makefile, if build breaks, check this first
|
||||
if use opencl; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
|
||||
GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
|
||||
fi
|
||||
if use cuda; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
|
||||
GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include ../config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
JOHN_OBJS="$(get_john_objs)" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use opencl; then
|
||||
cp src/opencl/*.cl run/
|
||||
cp src/opencl_*.h run/
|
||||
fi
|
||||
pax-mark -mr run/john
|
||||
if use opencl || use cuda; then
|
||||
ewarn "GPU tests fail, skipping all tests..."
|
||||
else
|
||||
make -C src/ check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john
|
||||
newsbin run/mailer john-mailer
|
||||
|
||||
pax-mark -mr "${ED}usr/sbin/john" || die
|
||||
|
||||
dosym john /usr/sbin/unafs
|
||||
dosym john /usr/sbin/unique
|
||||
dosym john /usr/sbin/unshadow
|
||||
|
||||
# jumbo-patch additions
|
||||
if ! use minimal; then
|
||||
for s in \
|
||||
keychain2john keepass2john pwsafe2john hccap2john \
|
||||
racf2john zip2john rar2john pdf2john ssh2john undrop \
|
||||
; do
|
||||
dosym john /usr/sbin/$s
|
||||
done
|
||||
use mozilla && dosym john /usr/sbin/mozilla2john
|
||||
dosbin run/calc_stat
|
||||
dosbin run/genmkvpwd
|
||||
dosbin run/mkvcalcproba
|
||||
dosbin run/raw2dyna
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
if use opencl; then
|
||||
doins src/opencl/*.cl
|
||||
doins src/opencl_*.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST virt-manager-0.10.0-1cd29748.tar.xz 11716 SHA256 a9293c2fcadd230cdfb13977c7c5520c0f74e38cebd199e8de2cce68e5b0efd3 SHA512 87312537a05a99c7df4c3fcf47bc4820a3e8b6c59bd39adf7aa803383bc3f69aa615dcada71b82b51bb92c83daaa7cb528279dcb9b6f36247d6e24665376a086 WHIRLPOOL e86c0dc6ae774c047bb130ecef618a4583ac76bb265b08c45d41ee1d8e10a128a6a3a1bf7e02827f70201b7ec973e7e95756cc4f11aece7d6bda87e0085bfa0d
|
||||
DIST virt-manager-0.10.0.tar.gz 2548256 SHA256 59bd8f316917228885261a1ecbeb9aadbb0b0e02cdf5fc974c78113c5814346d SHA512 13eaed3645ccee79da6a972e02bb182b5bd24981ff55b6322b8aaf2689fab520f22f1e729bb5f5287d66526252a31a531c6595ee27489a52fb4829ae18cf8204 WHIRLPOOL e3e34506171217c63e5e5337157f75006554afb156a430f2ee7f11e354d0c490adc371174b342efb4cc90ab0686d2c74f42b4d52c55c0a9221868670980fdbb3
|
||||
DIST virt-manager-0.9.4.tar.gz 1709809 SHA256 dc8c553beeb15bb30cd5517b2105bcc47cf482b03523e522733c52b0e5df0fc0 SHA512 f70f4c4f0d5b282d8126e495a2da8bcb6afe0bcbbae493d4abb46c3a1802f5ce36f477125421cb577ab2f64bae522db4d7c03558fa7997d74f5060b29b98c53a WHIRLPOOL 00a213515f23858278f47069102cf82eb053255b81a9e128fd666dbb17f6d9e7ce2365b4370fa3b733406c07599fe5c0dfa076a6555c48dd62d1178b679acedb
|
||||
DIST virt-manager-0.9.5.tar.gz 1773882 SHA256 5d2afb282fb8c4401f9e203dcb41a62746b9a909258d440d508219bc1a33803d SHA512 a1ecf6fe9f3ddacfe43006cfc388d9324c457be91767792119d8a112b190739e3274dfeb7cffd28534b86a33f86079c569d8337eeddaa9d60ed69f82d8a4627f WHIRLPOOL d15728e55c0a3e361b42b6e615bed50b8870c436a12ae0ececcd80d47d0482ea01c33f5497672e050aa6465f9b031948bf92925710c4340837d789d4634506c8
|
||||
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.9.4.ebuild,v 1.5 2013/03/24 00:40:35 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#BACKPORTS=4
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="http://git.fedorahosted.org/git/virt-manager.git"
|
||||
fi
|
||||
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
|
||||
# Stop gnome2.eclass from doing stuff on USE=debug
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit eutils gnome2 python
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2 autotools
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
VIRTINSTDEP=">=app-emulation/virtinst-9999"
|
||||
else
|
||||
SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz
|
||||
${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="amd64 x86"
|
||||
VIRTINSTDEP=">=app-emulation/virtinst-0.600.2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A graphical tool for administering virtual machines (KVM/Xen)"
|
||||
HOMEPAGE="http://virt-manager.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="gnome-keyring policykit sasl +spice +vnc"
|
||||
RDEPEND=">=dev-python/pygtk-1.99.12
|
||||
>=app-emulation/libvirt-0.7.0[python,sasl?]
|
||||
>=dev-libs/libxml2-2.6.23[python]
|
||||
${VIRTINSTDEP}
|
||||
>=gnome-base/librsvg-2
|
||||
>=x11-libs/vte-0.12.2:0[python]
|
||||
>=dev-python/dbus-python-0.61
|
||||
>=dev-python/gconf-python-1.99.11
|
||||
dev-python/urlgrabber
|
||||
sys-apps/dbus[X]
|
||||
gnome-keyring? ( dev-python/gnome-keyring-python )
|
||||
policykit? ( sys-auth/polkit )
|
||||
spice? (
|
||||
>=net-misc/spice-gtk-0.6[python,sasl?]
|
||||
|| (
|
||||
<=net-misc/spice-gtk-0.14[python,sasl?,-gtk3]
|
||||
>=net-misc/spice-gtk-0.14-r1[python,sasl?]
|
||||
)
|
||||
)
|
||||
vnc? ( >=net-libs/gtk-vnc-0.3.8[python,sasl?] )"
|
||||
# tui? ( >=dev-python/new_syrup-0.1.2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/rarian
|
||||
dev-util/intltool"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="--without-tui"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/python/python2/" -i src/virt-manager.in || \
|
||||
die "python2 update failed"
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# virt-manager's autogen.sh touches this and eautoreconf fails
|
||||
# unless we do this
|
||||
touch config.rpath
|
||||
|
||||
rm -rf config.status || die
|
||||
intltoolize --automake --copy --force || die
|
||||
perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in || die
|
||||
perl -i -p -e 's,^GETTEXT_PACKAGE.*$,GETTEXT_PACKAGE = virt-manager,' \
|
||||
po/Makefile.in.in || die
|
||||
eautoreconf
|
||||
fi
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.66.ebuild,v 1.1 2013/12/02 09:24:16 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST fslurp-0.9.tgz 22733 SHA256 2f0864e33a679407b37fd1d3c90f7ac0a83e0e2552ebcde257f3c65adba83747 SHA512 399c1441b849bb8a4b459916042d3dc883b81183438add27833aa2cac9cc2cb43b740a080dbadf22a99d35aa0e857e04c59bb6677e14980b472324b6244e5f1b WHIRLPOOL f734b3f1bf9ec92afaf027a1494708568415169317f995a0c111c596148be1cb4741b48ca04fc6b72cf06237f948a0d77476fa63aff9443ae49c58fb690ebdc6
|
||||
DIST fslurp-2.1.2.tgz 30088 SHA256 e952b90e6ca38a8263a6e3a508370ce8a35353ff730faf39fed5c261dcae3f7c SHA512 3eed2e48c2fac9c62d24c74394884e67d9ed671461f30cb4376892225d9b946c0abf3ea50cda212fc620700ac8a7f50a13b914b523f158fe141667b6fdbde685 WHIRLPOOL c584ba1a56d01665394cfa35f095caeb652bbd58a202b1cf314aa697620c8d417c02b68d2c4bc65b8946d92beeb693a12233319c587082808b2d72b5b8656ec7
|
||||
DIST fslurp-2.1.3.tgz 30865 SHA256 b8c5e59da56c29f98cc73eee94eb40849809e73568328e79ec351ba1de75b516 SHA512 b60d9fbacb4ae5a59c08dc91eb565b469830cd1050f735ad4d46f498e451f58e02bfb2b6587ed5918e133fa5988a6a65dba8fba34cf1467c0662ae3660e5ec04 WHIRLPOOL 17a20f4b1ab5c24e15f95e57a7c855922308de0131fa93e97b8245c1b4c7009444023a4e51b724132c1153989b7cb1553762bff40776256fde8abda3a94b3095
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/fslurp/fslurp-2.1.3.ebuild,v 1.1 2013/12/02 10:13:40 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Read and display data from Fronius IG and IG Plus inverters"
|
||||
HOMEPAGE="http://fslurp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc History README TODO
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST mc-4.8.10.tar.xz 2152000 SHA256 5bda5a10bd0447da4b3b36c55d10fdf26e279d29fd30792467d68bdb7c2f2788 SHA512 388cd8f8714d3c946a165ed2ce17086ee345bec49f1eb0a71663dd6e07ad53a568df0edd4532b2098382a7dda81eaafdb71f54763e23f26a4db86c26022b8088 WHIRLPOOL 7966b0960d2e357d8de9e25476c4773fc6add07064647eb083f740cb109d2bce69867a6dfc7fceca882bd1a1bd964154b4b03c869282c12f2d4887774515968f
|
||||
DIST mc-4.8.11.tar.xz 2211144 SHA256 1877ea844f9d71e133b9e03ca3bebcd7b10b9ba5b419b8d268e255816fe1993a SHA512 5afb9e0704b8c0e98cd4787f03baf40131a0ab40027103e42f44b2ebd5b6c33b8702d7f534ca8175f3b8efbb25a04f08f0f51a1eb3a1783a99e6117472344fbc WHIRLPOOL bbe6dbad549f45b9d4aab0985ce9a2c35e42017d2f2020972d27d8d43c66473c49fea8754fd6635195b72e6a531625a28327c0f2aa65f5e79cea0db0d54ea7e6
|
||||
DIST mc-4.8.7.tar.xz 2106020 SHA256 88f620f7944d629087e0f3518a7e7bff7600fd1c4fa157767cdcca95f2cb3074 SHA512 f5c0f533e4e056246d5918233b9932f751589db613f1c591be3168b607a9b73919e93b631151c1c4dbc692b54e7ec1b2f8ec2ae875a24012744e7257735fa1d8 WHIRLPOOL 768b08f2ff0ce1de8893aec2a083269ecde6c62e6e7ea5379a96eec81ad56791e4adbfe712014cece323857fb96862a29dc97893b53f8d5316707e933f015342
|
||||
DIST mc-4.8.8.tar.xz 2150988 SHA256 b898a343b2b11274a20b2a491f9f5422b6d041e65e152c56d7255084fd04b78b SHA512 407998e653d0758ff47c13d2d47c77628b764ec5e51369fe0ff28d31962d8d4635e23fade2d159bf6b063c8b84e3e3f558c3b3155d3358e520c3436a57412815 WHIRLPOOL 1785a836bf5070e52f75fd120031829ced772c9b3bdacf517b2e03f05ca850144960fe17f4f283d256ee46e3f3d9c3d104ac0110637534feae2ca684f18bd032
|
||||
DIST mc-4.8.9.tar.xz 2169836 SHA256 1253fbed3d471473c4eb9709dd6b981333754e122ddbfaa99d7cfb57508477a2 SHA512 43d231659261a73eaeac8cb9b3c25b6f753a98ee09a88b4f4213cbdee39e1f3dd27ea58b437566a904cfb6af8f000cead99b0712890bb59045b67ca989f448f6 WHIRLPOOL 49615ffa03096297a9ebf299f2f4ae4466c7f5d5cacf7577fd085c9148b0e60cc0876e4d876f81f5e5c065295e839db1d9ea83cde9744657c237f56d70e4f51e
|
||||
|
@ -0,0 +1,38 @@
|
||||
Index: lib/tty/key.c
|
||||
===================================================================
|
||||
--- lib/tty/key.c (revision 0ed4a91d7df4e50512defd2e0734ecab7c9da07f)
|
||||
+++ lib/tty/key.c (revision 21bf5d2dde704fd9ae90d991ce1279ba925897c9)
|
||||
@@ -1947,4 +1947,5 @@
|
||||
{
|
||||
int c;
|
||||
+ static int flag = 0; /* Return value from select */
|
||||
#ifdef HAVE_LIBGPM
|
||||
static struct Gpm_Event ev; /* Mouse event */
|
||||
@@ -1979,5 +1980,4 @@
|
||||
{
|
||||
int nfd;
|
||||
- static int flag = 0; /* Return value from select */
|
||||
fd_set select_set;
|
||||
|
||||
Index: lib/tty/tty-ncurses.c
|
||||
===================================================================
|
||||
--- lib/tty/tty-ncurses.c (revision bb65b467900ea9eb1f7867c059fd26fac86c747c)
|
||||
+++ lib/tty/tty-ncurses.c (revision 21bf5d2dde704fd9ae90d991ce1279ba925897c9)
|
||||
@@ -50,4 +50,5 @@
|
||||
#include "tty.h"
|
||||
#include "color-internal.h"
|
||||
+#include "key.h"
|
||||
#include "mouse.h"
|
||||
#include "win.h"
|
||||
@@ -531,4 +532,5 @@
|
||||
{
|
||||
int res;
|
||||
+ unsigned char str[UTF8_CHAR_LEN + 1];
|
||||
|
||||
res = g_unichar_to_utf8 (c, (char *) str);
|
||||
@@ -541,5 +543,4 @@
|
||||
else
|
||||
{
|
||||
- unsigned char str[UTF8_CHAR_LEN + 1];
|
||||
const char *s;
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.11.ebuild,v 1.2 2013/12/03 07:51:01 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
DESCRIPTION="GNU Midnight Commander is a text based file manager"
|
||||
HOMEPAGE="http://www.midnight-commander.org"
|
||||
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
|
||||
|
||||
REQUIRED_USE="spell? ( edit )"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.8:2
|
||||
gpm? ( sys-libs/gpm )
|
||||
kernel_linux? ( sys-fs/e2fsprogs )
|
||||
samba? ( net-fs/samba )
|
||||
sftp? ( net-libs/libssh2 )
|
||||
slang? ( >=sys-libs/slang-2 )
|
||||
!slang? ( sys-libs/ncurses )
|
||||
spell? ( app-text/aspell )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libICE
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( dev-libs/check )
|
||||
"
|
||||
|
||||
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-ncurses_build_fix.patch
|
||||
|
||||
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
|
||||
}
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
local myscreen=ncurses
|
||||
use slang && myscreen=slang
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
|
||||
|
||||
local homedir=".mc"
|
||||
use xdg && homedir="XDG"
|
||||
|
||||
econf \
|
||||
--disable-silent-rules \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable nls) \
|
||||
--enable-vfs \
|
||||
$(use_enable kernel_linux vfs-undelfs) \
|
||||
--enable-charset \
|
||||
$(use_with X x) \
|
||||
$(use_enable samba vfs-smb) \
|
||||
$(use_enable sftp vfs-sftp) \
|
||||
$(use_enable spell aspell) \
|
||||
$(use_with gpm gpm-mouse) \
|
||||
--with-screen=${myscreen} \
|
||||
$(use_with edit internal-edit) \
|
||||
$(use_enable mclib) \
|
||||
$(use_enable test tests) \
|
||||
--with-homedir=${homedir}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
# fix bug #334383
|
||||
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
|
||||
fowners root:tty /usr/libexec/mc/cons.saver
|
||||
fperms g+s /usr/libexec/mc/cons.saver
|
||||
fi
|
||||
|
||||
if ! use xdg ; then
|
||||
sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
|
||||
-i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To enable exiting to latest working directory,"
|
||||
elog "put this into your ~/.bashrc:"
|
||||
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST yodl_3.02.0.orig.tar.gz 292869 SHA256 50524f4a30c81b5c1313ef65a96a1ce43452f05efbbfecaa7eb2862fe4996593 SHA512 26bcd5332d8022bcd192d494bfcb3abdfeb0537f2608aa4a324de3d9a2103001c368ea44c688ec64f8d0e90edb2e27c81be5e99ce66e973caa7719573abd2c89 WHIRLPOOL da33856bdd931160c62054f9f2de1a73723b02d7495986d7ab6915f6cd72c90461a7c962cd8b6eea65713f5d4524fd419df10526ca7dac40b559f51d99506dde
|
||||
DIST yodl_3.02.1.orig.tar.gz 293073 SHA256 01754514e91aabe6a608eba14aec5015e93e075601fe7a8f553cc67feac19bd1 SHA512 85a65c4802d603952f47fb9f2c64c943ed79a2a96f33937fdb96b9ce7c7ffc4b93db15a2a294a3ce99ea78100064dab246f5c168efd40e37d2415ec84a12633b WHIRLPOOL 6ff0b22b335beebd1e1e689d3b4d9add20f255ccec6480748775ad648d54733d6f9977b79771f3ea2d184e8a94a82ab42f3c51a8cc874ac7e920c21b79e0fe89
|
||||
DIST yodl_3.03.0.orig.tar.gz 295929 SHA256 d33e89fa34c6d266d438bd5d22ef6a35ef8411b54312a1a1e8c5bb40a88214bf SHA512 92946ea79e3b2a8d1a2df60dcb8437d418fe437199e5d295d80b0c59ac6572cd63b5e3976e1dd1638d84e2172c5ac2914de117044ca28dd474145609ff22e844 WHIRLPOOL 6b6d1691553ca4565546a7f7c6aced31edf2d13681a92c1e95f82259b5ea00dec32f01d1b1a07589410bb2f0facde604942bb110fccdc055fd09c1b79679bcdd
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/yodl/yodl-3.03.0.ebuild,v 1.1 2013/12/02 09:52:01 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Your Own Document Language: a pre-document language and tools to process it"
|
||||
HOMEPAGE="http://yodl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-util/icmake"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \
|
||||
-e "/COMPILER =/s/gcc/$(tc-getCC)/" \
|
||||
-i INSTALL.im || die
|
||||
|
||||
sed -e "s/ar ru/$(tc-getAR) ru/" \
|
||||
-e "s/ranlib/$(tc-getRANLIB)/" \
|
||||
-i icmake/stdcompile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build programs || die
|
||||
./build man || die
|
||||
use doc && { ./build manual || die ; }
|
||||
./build macros || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./build install programs "${ED}" || die
|
||||
./build install man "${ED}" || die
|
||||
./build install macros "${ED}" || die
|
||||
./build install docs "${ED}" || die
|
||||
use doc && { ./build install manual "${ED}" || die ; }
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/vim-r/vim-r-0.9.9.8.ebuild,v 1.1 2013/12/02 09:45:05 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: integrate vim with R"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2628"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-lang/R
|
||||
|| ( app-vim/conque app-vim/screen )"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="r-plugin.txt"
|
@ -1,3 +1,4 @@
|
||||
DIST cdk-5.0-20090215.tgz 429288 SHA256 b388c3a91a86153dfb2e0e583e213457859e61b228959145dffd102eb42ffb9d SHA512 1afb61c37bf3fd84c33d6a2db9684a8546b71fde7d28b42a921082fc5ab5451b1beef3e6d4cfee6ae7569c37fc2c3a7dbc56228e823de0f1ec072aad881970ec WHIRLPOOL de45637973e2cb5e69e0e11e06090a0a447e4f4f6aad83bcdf6876a7a482a0b03506be0be4fcff7ee9847275d26aaa14d42a1b82e6a6b6d2721364e5bb88914f
|
||||
DIST cdk-5.0-20120323.tgz 466993 SHA256 a7a8210a85b1505f3f9e794cd11afad1c66f42306e6387b197bd006b24534c74 SHA512 bd3a3f7a79eeea23a2e79aefbe689f6b89c91108f3c1cc3e205c02021fbd39139c67da45f5c8c219d85dd57058725be1a12dce37cfaf767d756f8d56761f750f WHIRLPOOL b548e098c0c8f1252f8431594e4160b807fc2645a169f85e2cad8e5374155a35fcd5dbeaad0d2c200660c42d62febaef004ee7f9182751a1d2d95d40fd4eb34c
|
||||
DIST cdk-5.0-20130901.tgz 488453 SHA256 c3cd5ae7a375c09f8480ba76c0fd06b795c2dd09569adaa94133a7c5654463d9 SHA512 834256fff7ff1fb05afa189cd2be2f50afa8bd948ac18dd01bb8405dc168e74e29566e417df453c9e1a06f11171fb4b0c1a7596df927377df7896c12ef27e392 WHIRLPOOL 628b7d8df73288c7c8bc24723f4ac0a94103bc603d5aa273567ef5c9a058743abbc9fb102a25d92c7a5610fb27b6811d9e0779f7a163ef8745c411589cdf3fd5
|
||||
DIST cdk-5.0-20131107.tgz 495455 SHA256 2b3670b95d330cce34ddd929f985c423cf86b05ba8a33bf5f217c4702131f565 SHA512 93e0c78bfd12fb9c554b9b6996b9c93542201afb67ddd63ecea7330171ca079da73d81b3f3b2f27a28ecd3527ed6c7333203a9438ecd196a66d3bad78233f439 WHIRLPOOL bedf5a441175436fb0eb54b216a61acd296d97dbbb2be1eb817b024778f58383f0ea00f6159c67c05f116f21ad6e0030a2d979aa8db2798a4f103f36f3e3198b
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cdk/cdk-5.0.20131107.ebuild,v 1.1 2013/12/02 10:10:45 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 2 -)"
|
||||
DESCRIPTION="A library of curses widgets"
|
||||
HOMEPAGE="http://dickey.his.com/cdk/cdk.html"
|
||||
SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/5" # subslot = soname version
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="examples static-libs unicode"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2[unicode?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-libtool \
|
||||
--with-shared \
|
||||
--with-ncurses$(usex unicode "w" "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# parallel make installs duplicate libs
|
||||
emake -j1 \
|
||||
DESTDIR="${ED}" \
|
||||
DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install
|
||||
|
||||
if use examples ; then
|
||||
for x in include c++ demos examples cli cli/utils cli/samples; do
|
||||
docinto $x
|
||||
find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc
|
||||
done
|
||||
fi
|
||||
|
||||
use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xmlwrapp-0.5.0.tgz 442550 SHA256 af3b71a6983c5c08e00096f5bb9f8ce61de3147f020aef327624043736d5ac73 SHA512 edc8d524e114a8699befec28f43828127b24c2edfa4f71c66f3d0bbe20fc8a96b273a1f6a028ed5cb7388213c789477c76256c5f9cece73aa581e7823636bdb9 WHIRLPOOL 33504b10fbb436f5767c74fec24e13aaed403bc8709f53846c54299f3c5f4f36dfce48b3ddc14aea64af02b547ff2c958090dd178b1e81fc0c52251b3beaee5b
|
||||
DIST xmlwrapp-0.6.2.tar.gz 946770 SHA256 befef91d8a5826d66b1f18db8786ab6b0d097555ccb07906c85f12f69d638767 SHA512 6ad7ace5caff2b9d0c62b3ff4ea873bd65a46bbb04b6fbf802b35c3b781586fc7b04b4593b4ccdb5add2f4ee20df46beb2aadbe4e2141940219c2ca8f5dbcf9f WHIRLPOOL b5a5d5d8f603a0e609bccae24dbb03e158d81fdf111ac790450b114850eeca8ff3accb0c23cc20437f4c0b7f592e536cea488de9dc3f2b43394b2c68aec5cfdb
|
||||
DIST xmlwrapp-0.6.3.tar.gz 910879 SHA256 1701fa2960cf2afd70b8ebee2740cbe893d4318a3c269319e657e5738d802ab2 SHA512 28a283aaaf4e9e6690f4a720784fd72ca83606e416bafb5343c4160325834772fb7b4d4604269cdb1bbc5dfd95cc03bdb338fdd08a99d113fcf00532df2239bd WHIRLPOOL e60eb6d73362ff2acc647bfb75b5a3b698623e8b7aff7be98f82f52672d771d0fe9464b7f2474edf903a78bb14ca5fb4a8c77c43ec2fad6c17e898a55375ffe7
|
||||
DIST xmlwrapp-0.7.1.tar.gz 1453771 SHA256 3787f05715081257d970ac0c03141f705d9eeb03bd3747c2f4c5a77103b30728 SHA512 73aaa9821f861edaab8e83d97414c9525ae7f6281a4812d8df6239e10ec76dd941cc0a8ed4769469084f694642c2f0c978f6c7477c63f99735a8cc9d98d7b9a0 WHIRLPOOL fba8d428856fc7512b1cf54a3b0f3cee94cf440cbb6f4670d630192a9ee01b94b37797cfc836429d30af9e9b075a885ff1c2844e304b3303f1161f380f7bdb02
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild,v 1.1 2013/12/02 09:32:43 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
|
||||
HOMEPAGE="http://vslavik.github.io/xmlwrapp/"
|
||||
SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/boost:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
--htmldir="/usr/share/doc/${PF}/html" \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/chameleon/chameleon-2.14.ebuild,v 1.1 2013/12/03 04:01:50 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# py2.6 requires ordereddict that's not packaged for Gentoo
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Chameleon"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Fast HTML/XML template compiler for Python"
|
||||
HOMEPAGE="http://chameleon.repoze.org http://pypi.python.org/pypi/Chameleon"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="repoze"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( _build/html/{[a-z]*,_static} )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST Django-1.4.5.tar.gz 7735582 SHA256 0e1e8c4217299672bbf9404994717fca2d8d4b7a4f7b8b3b74d413e1fda81428 SHA512 7bcd45777be191cf5a45dbd09e1d026a2b5a796227a853d0570be58b3bd1172396b12632762deea267ce34df4ea547630740fdb4b795fad7cc4f53ab309c0d44 WHIRLPOOL 723bc0a2e93f3b22fde7d65c971a3b58c828bbd96c6738df0546dc17256406930a648ad3b29f2ed627ab11e422dbcf27cf9b11eed0b022e3576bcc176fec7c9d
|
||||
DIST Django-1.4.8.tar.gz 7743397 SHA256 b9c356411af17dd9017081c884065976745659b3ab0e80493d0656911f920a2d SHA512 f2f0ed16308a9c2559be093f213fb6fef6f7afb4ceed54ee176167baa73191272da2a48c342ac4eb7d582dafe8052ef5c9246b62c2298f16c32ac119d16f7c5e WHIRLPOOL 6f275ba2bde4bce6714ca38290fa82b9713701dd5bad813508f0bee9c9d40c7b3ac14976f0b026e7ac06d61795edb434ab2d9666257f5bd5817f0e7f61a0d845
|
||||
DIST Django-1.5.1.tar.gz 8028963 SHA256 885fadcbb8963c0ccda5d9d2cca792970b0289b4e662406b2de2b736ff46123d SHA512 75304cf4a09688af4460dfc1de902cd3455003c76f8673a16a781fc738d2ddfa61ba62768e3be84b017c042696f90e950ec1855df9871be846fcc82df5da2580 WHIRLPOOL 32366c6fb5a8fc3b54746aca4843fcb3aab571830d77475a6c68e62117fb2f9b3cdbb0842c43be6dfe2093cc16fa79d050a21be7a2421b3e94bacc4c17d2e424
|
||||
DIST Django-1.5.4.tar.gz 8050758 SHA256 428defe3fd515dfc8613039bb0a80622a13fb4b988c5be48db07ec098ea1704e SHA512 daa4b5f8189446feefc168fd618a7cb2bea710b83066e0ec740f7596988107b5da45f2150fc99efd2095356bf87f2c0750d486e8c9b006b6d61468de8fbef748 WHIRLPOOL fe78575bb8b717261cb588deddc80534d70f8d147e807ad6364eaa5d2e785cd076c19be22c54ef602ee4e37d82ee54150788ea8237b19bf48b0b0e3bab3b5eb5
|
||||
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.4.5.ebuild,v 1.5 2013/09/05 18:46:06 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='sqlite?'
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 versionator webapp
|
||||
|
||||
MY_P="Django-${PV}"
|
||||
|
||||
DESCRIPTION="High-level Python web framework"
|
||||
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
|
||||
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc mysql postgres sqlite test"
|
||||
|
||||
RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}]
|
||||
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/mysql-python-1.2.3[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
|
||||
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests requiring network connection.
|
||||
sed \
|
||||
-e "s/test_correct_url_value_passes/_&/" \
|
||||
-e "s/test_correct_url_with_redirect/_&/" \
|
||||
-i tests/modeltests/validation/tests.py || die
|
||||
sed \
|
||||
-e "s/test_urlfield_3/_&/" \
|
||||
-e "s/test_urlfield_4/_&/" \
|
||||
-e "s/test_urlfield_10/_&/" \
|
||||
-i tests/regressiontests/forms/tests/fields.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Tests have non-standard assumptions about PYTHONPATH,
|
||||
# and don't work with ${BUILD_DIR}/lib.
|
||||
PYTHONPATH=. \
|
||||
"${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Port conflict in django.test.testcases.LiveServerTestCase.
|
||||
# Several other races with temp files.
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newbashcomp extras/django_bash_completion ${PN}
|
||||
|
||||
if use doc; then
|
||||
rm -fr docs/_build/html/_sources
|
||||
dohtml -A txt -r docs/_build/html/.
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r django/contrib/admin/static/admin/.
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A copy of the admin media is available to"
|
||||
elog "webapp-config for installation in a webroot,"
|
||||
elog "as well as the traditional location in python's"
|
||||
elog "site-packages dir for easy development"
|
||||
elog
|
||||
ewarn "If you build Django ${PV} without USE=\"vhosts\""
|
||||
|
||||
# XXX: call webapp_pkg_postinst? the old ebuild didn't do that...
|
||||
ewarn "webapp-config will automatically install the"
|
||||
ewarn "admin media into the localhost webroot."
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.5.1.ebuild,v 1.4 2013/06/02 04:22:26 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE='sqlite?'
|
||||
WEBAPP_NO_AUTO_INSTALL="yes"
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 versionator webapp
|
||||
|
||||
MY_P="Django-${PV}"
|
||||
|
||||
DESCRIPTION="High-level Python web framework"
|
||||
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
|
||||
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc mysql postgres sqlite test"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep 'python2*')
|
||||
RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}]
|
||||
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
|
||||
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.5-objects.patch \
|
||||
"${FILESDIR}"/${PN}-1.5-py3tests.patch )
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Tests have non-standard assumptions about PYTHONPATH,
|
||||
# and don't work with ${BUILD_DIR}/lib.
|
||||
# https://code.djangoproject.com/ticket/20514
|
||||
PYTHONPATH=. \
|
||||
"${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Port conflict in django.test.testcases.LiveServerTestCase.
|
||||
# Several other races with temp files.
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp extras/django_bash_completion ${PN}
|
||||
|
||||
if use doc; then
|
||||
rm -fr docs/_build/html/_sources
|
||||
local HTML_DOCS=( docs/_build/html/. )
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r django/contrib/admin/static/admin/.
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A copy of the admin media is available to webapp-config for installation in a"
|
||||
elog "webroot, as well as the traditional location in python's site-packages dir"
|
||||
elog "for easy development."
|
||||
webapp_pkg_postinst
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST httpretty-0.7.0.tar.gz 28066 SHA256 a422a74fe0f35fbb644c9a3a0a4ccb7a7469a8f5bae2d7c807d35a7d149d3fa6 SHA512 9adfd906336aa0ac2c21be8b789eb2e57994f4aac719958fc657291d922fe28b1fcc60d9b39e0e616b6d8565adaecb8228df3a9d1428cc189372b1cc700f664e WHIRLPOOL 8aaa28f26d038ba198b19a31a7f9490e2c3882a9eaacd6b5ccee34cd5f03f745e0facd96853da1be00c7ae949f18cfd4e8f3f696b51f26ffd9b2c6063502976a
|
@ -0,0 +1,68 @@
|
||||
rebased from https://github.com/jamielennox/HTTPretty/commit/3a7d5a04b2ed5cebc8e1fc14f706f5da7fc5162f
|
||||
diff -ur httpretty-0.7.0.orig/requirements.pip httpretty-0.7.0/requirements.pip
|
||||
--- requirements.pip 2013-10-02 12:44:47.000000000 +0800
|
||||
+++ requirements.pip 2013-12-02 15:37:00.611977792 +0800
|
||||
@@ -1,12 +1,9 @@
|
||||
-argparse==1.2.1
|
||||
-coverage==3.5.3
|
||||
-httplib2==0.7.6
|
||||
-misaka==1.0.2
|
||||
-mock==1.0.1
|
||||
-nose==1.2.1
|
||||
-requests==1.1.0
|
||||
-steadymark==0.4.5
|
||||
+coverage>=3.5
|
||||
+httplib2
|
||||
+mock>=1.0
|
||||
+nose>=1.2
|
||||
+requests>=1.1
|
||||
sure>=1.2.1
|
||||
-tornado==2.4
|
||||
-tox==1.4.2
|
||||
-urllib3
|
||||
\ No newline at end of file
|
||||
+tornado>=2.2
|
||||
+tox>=1.4.2
|
||||
+urllib3
|
||||
diff -ur httpretty-0.7.0.orig/setup.cfg httpretty-0.7.0/setup.cfg
|
||||
--- setup.cfg 2013-10-08 05:42:31.000000000 +0800
|
||||
+++ setup.cfg 2013-12-02 15:40:34.331985437 +0800
|
||||
@@ -2,4 +2,9 @@
|
||||
tag_build =
|
||||
tag_date = 0
|
||||
tag_svn_revision = 0
|
||||
-
|
||||
+[nosetests]
|
||||
+verbosity=2
|
||||
+with-coverage=1
|
||||
+cover-erase=1
|
||||
+cover-package=httpretty
|
||||
+cover-inclusive=1
|
||||
diff -ur httpretty-0.7.0.orig/setup.py httpretty-0.7.0/setup.py
|
||||
--- setup.py 2013-10-08 05:42:31.000000000 +0800
|
||||
+++ setup.py 2013-12-02 15:42:26.467989448 +0800
|
||||
@@ -50,10 +50,11 @@
|
||||
author_email='gabriel@nacaolivre.org',
|
||||
url='http://github.com/gabrielfalcao/httpretty',
|
||||
zip_safe=False,
|
||||
- packages=find_packages(HTTPRETTY_PATH, ('tests')),
|
||||
+ packages=find_packages(),
|
||||
tests_require=test_packages(),
|
||||
install_requires=['urllib3'],
|
||||
license='MIT',
|
||||
+ test_suite='nose.collector',
|
||||
classifiers=["Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Topic :: Software Development :: Testing"],
|
||||
diff -ur httpretty-0.7.0.orig/tests/functional/test_requests.py httpretty-0.7.0/tests/functional/test_requests.py
|
||||
--- tests/functional/test_requests.py 2013-10-08 05:42:31.000000000 +0800
|
||||
+++ tests/functional/test_requests.py 2013-12-02 15:43:48.763992391 +0800
|
||||
@@ -698,7 +698,7 @@
|
||||
response['response'].should.have.key("status").being.equal(200)
|
||||
response['response'].should.have.key("body").being.an(unicode)
|
||||
response['response'].should.have.key("headers").being.a(dict)
|
||||
- response['response']["headers"].should.have.key("server").being.equal("TornadoServer/2.4")
|
||||
+ response['response']["headers"].should.have.key("server").being.equal("TornadoServer")
|
||||
|
||||
|
||||
def test_playing_calls():
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/httpretty-0.7.0.ebuild,v 1.2 2013/12/03 02:15:29 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP client mock for Python"
|
||||
HOMEPAGE="http://github.com/gabrielfalcao/httpretty"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.5[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/steadymark-0.4.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/sure-1.2.1[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
# I believe we don't need unpackaged package markment
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/sure[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-deps.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
if ! use test; then
|
||||
rm -rf tests/
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/gabrielfalcao/HTTPretty/issues/125
|
||||
nosetests tests/unit \
|
||||
-e test_recording_calls \
|
||||
-e test_playing_calls \
|
||||
-e test_callback_setting_headers_and_status_response \
|
||||
tests/functional || die "Tests failed under ${EPYTHON}"
|
||||
rm -rf tests/ "${BUILD_DIR}"/lib/tests/ || die
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST libvirt-python-1.2.0.tar.gz 140757 SHA256 2fe7e341cb1b35cff130b7a04d0d58f3607094e63cbca689bc16c7b47da0f52b SHA512 8aa1cd366897fd7657f0cecd189df56551c2a524c1f7d7c609d314c44046b0367d84af617a7591d4d7bb7708dfe66323f2156ed8a0144901bbf563b4f5133d80 WHIRLPOOL 092ed89cf8f0ebe0b22e59b2935d219d7d098b45ea3bf720cff37871595991e182edebe91dd6620aed0ef26fc9f5563d363f94487cfa04846d4094658f7e1c23
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/libvirt-python/libvirt-python-1.2.0.ebuild,v 1.1 2013/12/02 22:40:24 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#BACKPORTS=062ad8b2
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="http://www.libvirt.org"
|
||||
SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=app-emulation/libvirt-0.9.6:=[-python(-)]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml )"
|
||||
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>virtualization</herd>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST llfuse-0.39.tar.bz2 250931 SHA256 4d9029efd461b7da099904d1cba193bd11964613263c38e97e9027174424995c SHA512 e75b4f22b256c05473531c6ee2aebcfd001cfb1f55e54c1f11405b3a958c1845912660e107adcc2b785dbb3fd54f683b7a6695cc33e0b53a563fad019b5e703a WHIRLPOOL 91b3ab7ce5fe6b1aebf78e9bf16d06995920fab30e79ce5006a2077663ae56b180c28939ba15d0599a4eec833a9c361bacfe8f8b9becff5a9a57cc7cce7746a1
|
||||
DIST llfuse-0.40.tar.bz2 454032 SHA256 ee8b1125a6f2ab904d617d7602d86c0e3f69e40316cb1ae3abc33c218d3da857 SHA512 b568d14e181c316d592d01b7879d2b04c717759124d9462b7f848c251322a6a376881050d209d4cf3d0d6c5218ec1880cb64f19bd64b73f09fd06818447f3dfd WHIRLPOOL 3cfcd75a41ab39036b867e625248472a709ffdc61a588cbac47572455a6e3029f3d6592cbeb8e2b555a8c6f59729587a54c3373d3053e20f71a9b4f747ab87dc
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/llfuse/llfuse-0.40.ebuild,v 1.1 2013/12/03 02:14:48 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for the low-level FUSE API"
|
||||
HOMEPAGE="http://python-llfuse.googlecode.com/ http://pypi.python.org/pypi/llfuse"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND=">=sys-fs/fuse-2.8.0"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig"
|
||||
|
||||
python_prepare_all() {
|
||||
# use system setuptools
|
||||
sed -i '/use_setuptools/d' setup.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST misaka-1.0.2.tar.gz 78702 SHA256 6197e4886ff0c2718df1b472e40b5fea45f447a7a5b0192a48123ee868973517 SHA512 ba3ef2e4c66e0e33e21bb554c3e317342929b3d9969aaba7e3dbd745430b3952b6bb7d3142a3049c4de3e3dede7cc68a9810cd43642e014949e4564fcb2cc74d WHIRLPOOL 8b36e931b50da2e55a3a21e9ef0955e677dc89db3de49c9b9fab776a94d607542320d067ced9d927a52b9f3b9d09f6d92ca4170738a8bdd4334629b68b262fc3
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/misaka/misaka-1.0.2.ebuild,v 1.1 2013/12/02 06:27:17 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The Python binding for Sundown, a markdown parsing library"
|
||||
HOMEPAGE="http://misaka.61924.nl/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]"
|
@ -1 +1,2 @@
|
||||
DIST python-Levenshtein-0.10.2.tar.gz 45023 SHA256 49a3b3c3210157e2070eb46c0713e64f409efc8c9a7520632ddf16f8a9508bed SHA512 a5ad8e0f58f899152166683d4d38fa2df68150743631db282eeb1cfd29d8e3d0ddf83a4543d4322d1f29ff485ebc9d2605d1f25b5adfbad4c62be746812ff65d WHIRLPOOL 420e47c3d5da3ee833423668e6883e005659b16ec433143064498a5e2f85f0cc398a7e6654c5e6857810ff690836a72ed0c1f040d3dc485ab58f8570d91fb22a
|
||||
DIST python-Levenshtein-0.11.1.tar.gz 35270 SHA256 7c194ae48457951b42e66188d9315ac28ed43d68ecc995fd82c1975ed1fbdd0e SHA512 335f29253ec7bba8d54881dfe093ac194626cdaad0cc6ed08327917d6187cdfe1fbb3d003744f991587f8dc800aa1d361e3aa0b276b31ecfe7a43d83ea0d660b WHIRLPOOL 34053f03dc123bb60a5a936b56d19cf8238c9c6f443e6643525ea467bd7e9a9bbffbc597481f1426a614077938f98718c0e1e6138f968dced49cc865bc214d7d
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.11.1.ebuild,v 1.1 2013/12/03 06:20:59 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="python-Levenshtein"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Functions for fast computation of Levenshtein (edit) distance, and edit operations"
|
||||
HOMEPAGE="http://github.com/miohtama/python-Levenshtein/tree/
|
||||
http://pypi.python.org/pypi/python-Levenshtein/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
"${PYTHON}" "${FILESDIR}/genextdoc.py" Levenshtein || die "Generation of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( Levenshtein.html )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST pyzmq-13.1.0.tar.gz 838742 SHA256 8e6fbe2999204456216a2da62429277117ed1761326bce00e48a0443ae3574a7 SHA512 c65013293dd4049af5db009fdf7b6890a3c6b1e12dd588b58fb5f5a5fef7286935851fb7a530e03ea16f28de48b964e50f48bbf87d34545fd23b80dd4380476b WHIRLPOOL 1aa5bfad65349effb6ebff8d3d0e2a693dc03d0aa112f1697417b2e6f50580ff3760cf85141719c1686a798d1ff48bc27e8bca347f576e7b4fe4950cb94b9a42
|
||||
DIST pyzmq-14.0.1.tar.gz 867063 SHA256 07c7f63aaa7709438345a5e5f4d90fe7decb147ff72d244acf4fa56f8801e5e0 SHA512 a571c0f773234ad709666bdbc23d9112c86403a418d147a6bf1de1b3189fc0764cfc738bc82c5759e97784053d16f7b8da87df73e2400f2bbfc96ee48fbb7219 WHIRLPOOL df5fe3da175a6a1172ab2bf222c5749f2eaa886a9be04ba3b47300721d7eea58357a2e6a6f0255cf3db3828dc8bed0cdff7de7e8f6fcf9af3e20fe206d59c628
|
||||
DIST pyzmq-2.1.10.tar.gz 613843 SHA256 cbcb8c7bf514297aec6e4622381e9feacb4fc552f610d89a9856c47e246f3932 SHA512 de4516174c48162e1132bc387714853c6be9ab178e15f0df6d481f4ee1f42d0329f26098e0e84df61ff598f86bfc0e2602bb5e231a8b5a614fa089310ebe65f7 WHIRLPOOL b35129f60b86a732cc1518380edd2ed3a746428af062973914457b8c5234d7a5175b41ca9374fe4715eafb2cca6ae3a757c22d2630d9e03616511a1f6bdb4796
|
||||
DIST pyzmq-2.1.11.tar.gz 611281 SHA256 91c21b762ace0ee0dba21d4544b6d521b2ec60015a37a558aa1d747b274f06e2 SHA512 d761b492352841cdc125d9f0c99ee6d6c435812472ea234728b7f0fb4ad1048e1eec9b399df2081fbc926566f333f7780fedd0ce23255a6633fe5c60ed15a6af WHIRLPOOL b3af3633a4d0675ed7abe0cb21948534c30d3d43eb2c17181805adf9f8d34c7eaac7c15756b08f38abb0d9dabfc9cd99ecb3f4037ee02add75a7691b51fbff46
|
||||
DIST pyzmq-2.2.0.1.tar.gz 789996 SHA256 dae7423f4aa7c93f8c77dadd15e34ce6576121a6e7ae0ecdb6084d855097decc SHA512 781829783dd932f2f7c9ca37ca84f2797ec23860260da3d1005600981d51c1006f187b9b84e937fd3b6dd0e7e58734992336a593eaa0514966dd204227ae1cac WHIRLPOOL 4a1827879e38edbff8f2badf537887ab48f7a67e1139f45c8472760403bf27ea1aeb8c1b6f1be1123ead906d44f98f46f7194b1839ec2b73e1d7bf76e9f032d3
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-14.0.1.ebuild,v 1.1 2013/12/03 08:14:54 dev-zero Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="PyZMQ is a lightweight and super-fast messaging library built on top of the ZeroMQ library"
|
||||
HOMEPAGE="http://www.zeromq.org/bindings:python http://pypi.python.org/pypi/pyzmq"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="examples green test"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep 'python2*')
|
||||
|
||||
RDEPEND=">=net-libs/zeromq-2.1.9
|
||||
green? ( dev-python/gevent[${PY2_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
!arm? ( dev-python/cffi[${PYTHON_USEDEP}] )
|
||||
dev-python/nose[${PY2_USEDEP}]
|
||||
dev-python/gevent[${PY2_USEDEP}]
|
||||
dev-python/cython[${PY2_USEDEP}]
|
||||
)"
|
||||
|
||||
REQUIRED_USE="test? ( !arm )"
|
||||
|
||||
python_configure_all() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ "${EPYTHON}" == python3* ]]; then
|
||||
einfo "Skipping python3 due to many incompatibilities"
|
||||
else
|
||||
nosetests -svw "${BUILD_DIR}/lib/" || die "Tests fail with ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST robotframework-sshlibrary-1.1.tar.gz 61111 SHA256 f83341741684231b91982be8c53cfb7990cb94f51a43d36cd1010dccc393efb2 SHA512 d4e408bbdd035df7485914d4623663b89e51186247b75172eefec9a06a4cbcd088cac6b41aa79b4b49694c37871720c15db01297cc48d5e1a0eca64f63db95b5 WHIRLPOOL 456fdf9c8a423466f4b6f5fd7e9252236dda603a976e11ea8eecd1fcc0e57d445e26376019664aba0815f0daccce017c2c00ccedf3bb4f206c75d9d72ad401a6
|
||||
DIST robotframework-sshlibrary-2.0.tar.gz 85818 SHA256 da69063046ce4a7cbcc11b8f3af6c294292ee5115f3b7bec4a96b1a64b375273 SHA512 f71fd819abe84c357493fc8f3af3bdb15cb80c1798f247219cad3aa94b55f9e4a8e03004a759114fc4000a5058adb5307c0e4d8cbf89a36cc9330d09287ae8d5 WHIRLPOOL 5b21461071d38a52628dde0231bd4b30f331a7fcb001eede2db8c2df6e6a5bff721cb369f2ef6bd3fccc2c3135142bcf6920cdc4a8b48b7c1478c802297bded7
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/robotframework-sshlibrary/robotframework-sshlibrary-2.0.ebuild,v 1.1 2013/12/02 10:04:16 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A test library for Robot Framework that enables SSH and SFTP"
|
||||
HOMEPAGE="http://code.google.com/p/robotframework-sshlibrary/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/robotframework[${PYTHON_USEDEP}]"
|
@ -1,3 +1,4 @@
|
||||
DIST robotframework-2.7.6.tar.gz 536997 SHA256 03eda43e9a5dfe1cffc2551bdfb674205fe1c8c3ee6d50c43cb66d3e464c3a4c SHA512 5a108103719830dcbd9729bc25f0c6936af9d3890058fb0e693f507a35cec44cf943e8894a21314b20ff5bd2e085636eafd2396d3040f1eede0527921bbc036d WHIRLPOOL b71d1ab3eb95a570d9e9771d52f38c2bc526c99331064bcb0f46b3e12c67d84d08e3bd265b1aea110266244ba9e5478ef438c7194948e3c66ceb565304ad80c8
|
||||
DIST robotframework-2.7.7.tar.gz 543913 SHA256 dd528dfbe26b260367ee91d2ab1a1e2e4d957599a472ef7d5ae1dbb84475e6c5 SHA512 f9312b81861956bfcfdbf1924ad3dcc4ec015853c12999e7f8dbb013127c3fca885b13ba26ee24305dc13f0c983ebe00a5f771f8f9d0641b3ba5d48b35d405a1 WHIRLPOOL 33bfbfe1bdb58e1756bee07b8899a720230e42ff6bf1668530676b575041ab61ba313b1990dcacc953ef50ae343e403e63cd1428531252a8709a24af0d649b0a
|
||||
DIST robotframework-2.8.1.tar.gz 555530 SHA256 dcbe5614cc155a291477a8b4f5446d75c18502a33d78b8ae1bfe16196296fc13 SHA512 c30d592bb2370b6bceb41edb3ef849570ec02e4d4c53a728aae458268ce33dcd8c45a27096bc97a49c1333a6e2c437ed41e1d40095ab8827fb462993ee5186ba WHIRLPOOL d5ef47ebc1bf8f219a52fe7c24b7a653c499f2b97fea58ca7ea2657e40b15d3acca731509dfbf7fbcb751f87cac863d402432b06f792a8c550902a7a5d5ac49a
|
||||
DIST robotframework-2.8.2.tar.gz 568721 SHA256 da1cb3318a349a7c359a4f0c78d75c87561791f12235dc48551400bee2bf6c5f SHA512 5adf68de8716901ef240eba2b0ab7489456b502477af6d5aae7dde6c93a581a91209fccb1154538e1472241812d3b7442355ea2d8c3d813723a19df25232cba5 WHIRLPOOL 84661a71015efede475e96c6ec9332f07e86626ff3745ef3de565e6ee7c9e49c5a0e4d3a43825213902b7a4203c6bbbfa4f570603185c3651f6b365f1db12409
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/robotframework/robotframework-2.8.2.ebuild,v 1.1 2013/12/02 10:01:12 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A generic test automation framework for acceptance testing and acceptance test-driven development"
|
||||
HOMEPAGE="http://robotframework.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1 @@
|
||||
DIST steadymark-0.5.3.tar.gz 8180 SHA256 1e38274f27516fe337279b41049603e18aa3383980dc2665b836e3e0461b7cae SHA512 c30971675216f2afcb9f59fba5239fd6f37bc0d570b1ab34820f2fb83388330886a53ff3a31bf96e07b455ccfa8df3fda5bcd3d2212360419ec2b7290d1ddbaa WHIRLPOOL 0b48afe16589aeecec5a4622a6e89f47560d4c989b326edf8803549fc86f42cd320e7b01d6682633999ca429ac5b657e22218f316a3fc52a9f567fd0285f70b9
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/steadymark/steadymark-0.5.3.ebuild,v 1.2 2013/12/02 09:45:59 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Markdown-based test runner for python"
|
||||
HOMEPAGE="http://github.com/gabrielfalcao/steadymark"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/misaka[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -1,2 +1,3 @@
|
||||
DIST Tempita-0.4.tar.gz 21531 SHA256 abf66d20932f1875a9c290345f19f35dad9031d4a9397de242a2b34e87ccddb5 SHA512 c6f628b0bc9524c8c5884783f37e48f56d3ec6800f57b0c3007a8d96def77c9391fd68ac53c98c811295e108ad0bc746c060d02a0f8bcdb31e5b22d48a9bcf1e WHIRLPOOL 06572f3c085ca8aaa6467a68996eae94ed89c2cb61d4eae3900f970a8fe38898ff7a9cb38b10c8b041e5bb8a9afaa9f03fc2a40f0be5feda2f9570959c374c5e
|
||||
DIST Tempita-0.5.1.tar.gz 12097 SHA256 0ebe6938ca7401db79bac279849fffcb5752029150bcb6f3c3edbe7aa9a077d8 SHA512 5381bfd3cdfc2a0cb64d5e0d6eba7e2b5258e18396a44a3ceeeade71a664eb99dfbcc8948b79ad2b6a5dd30f91fa96079dbda98b708f4dbf7ef1d60c2677e3ff WHIRLPOOL 9a0d326c104aef36372f1337fe8a2588d9d41fef3da3dc12d5bea34d870be2059f4c909f0eef598e192b4b829494d0744714d21ee0ac184c22dc2c8c1df8951e
|
||||
DIST tempita-abe6a7282d363fa9136199dcaf04b2c0d501d4e6.tar.gz 24246 SHA256 eb821385da5a47f8a9f20a5f758f8729134c99ab72ac8c61c23f8a2965627fe0 SHA512 f2d91f4c890ace07bf5b441eaf2c362a6f0dd3c4d8ce416e45d57b5d19f44f690e0eb9eecc2258eb91942c4148d2f0a6a5eeca49137d1cabc556c40bb01925a7 WHIRLPOOL 9df6507c1a093241d681b17c7f8966813a703cdf6171dbb62b49382e125fd3bc4b9af8c51590103d0c40e8cde6cd5e4863d7a54217aaab5f08169a10f040f6a1
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST amq-protocol-1.6.0.gem 41472 SHA256 05e2ab33c39588f04c96649fd4fb6c1c6295a7fabe18310db16e2555c93a4c7f SHA512 596b6d1f80c97584d4cb01a9f13547b963f9c59f99ff536d46c999775d738517ac35a9539e6db1970aad6a7e86606f4680be635b46f7cab61b4e3d92aec42f70 WHIRLPOOL 2b1691aaaaa451f30f9da122dc1f851edf8ed5be06b8cd6f6e4383e23f0899383090ce7fb05deed4a9fd9fe4522b6ac31f595bfa439286e864b90a6f50f01fef
|
||||
DIST amq-protocol-1.7.0.gem 41472 SHA256 8bacc5c7f3672a0a1a010eca6dde734952dc47aa6a3165a64a920b8334490a76 SHA512 4f894ddd3b0c14252715e8751629c96301b8dadb255151d5469be601dbd23b48c57bba3c0ad1b45257e0a502b1cac6f4ef88d957f24dca9acc35fdc72b49fbd1 WHIRLPOOL 814ddc87a1d1538d5ebf475e84dc6c4f4008f1b99ad72248d20a8ed836383bd5a45df8fbd864618a45871cd83e2805815c520922cb545290abf81251ca3fe049
|
||||
DIST amq-protocol-1.8.0.gem 41984 SHA256 1954900fa196754cf297902dc28436ceddea4b83ee3f6c41294372f628a0e0d3 SHA512 2d00ec57ab3967676213a089b106a1e151afb8b192d366fa3843e6001e727b4ba969df6f60fdda3f664873a1247aab260ae53768c0e40c69cc63ab41ede8e72f WHIRLPOOL b650eec61d20fc1dd365ed9f2dd4bf3900818c419d4f2314e9c1d4c146bd5c862e78a06df324935996ad4f061750ebcf316f7f1c3471a47bf39eaa68c8a73c0e
|
||||
DIST amq-protocol-1.9.0.gem 43008 SHA256 e201c19c2674d896ecc6e4ff6f8b549bd455cc4eca7d0e25e4cb45f3f0ae8500 SHA512 e175a03c9762396c72e6bb750dfc2f6361a2b61139d30f4fb216bc139808ca67d350758169f078e1464fa2a00c480675e24bb93930ae6b26bc93250019b79421 WHIRLPOOL fb060cfceb8d8cbfcd79fa114f3ea692fc5ca8244425d8a4835696f51bee74057b2afb56572929440ecb28298ba3bbebd990b32658621d286b3d2231491ae53a
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amq-protocol/amq-protocol-1.9.0.ebuild,v 1.1 2013/12/03 06:39:51 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An AMQP 0.9.1 serialization library for Ruby."
|
||||
HOMEPAGE="http://github.com/ruby-amqp/amq-protocol"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/bundler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ox-2.0.12.tar.gz 173455 SHA256 d5ef021fcd50f8a6f09a04525390b8cd6572a92683ea6b3b020f0b42ffc5ca87 SHA512 c511b7c293494134758c6639e70add4edbf4717354e74e6fafbb7514e572735914644c81a1558e63ef2d08f2d0f8edbcf88833f90fd3720a3847f697202e1699 WHIRLPOOL fb63012e38197f106874df5baa807c25e1b5c3bcc75cb4d9edcf43764ce43ea0d332dac1f3002d7495e3855c7ea841258004a2dd7bff1a86f8a0b917f2ef8021
|
||||
DIST ox-2.0.9.tar.gz 173645 SHA256 62a68f698967eaed3e8be7618feb9df7a77ec2297d466439fe1cff0a41447f4e SHA512 0628b0c395fa36235c4ed61526d2ee3fd52d1bc67e0434309a32a372dbd3a699c3cd15951e68e4d7ea28d06eee56c10a5662aa571b1aab905f07215881b0cca9 WHIRLPOOL a13fc5e26ac86fd93847a11dbf9208f69c5a70c0173a6ea823afb79f99d8be36843e6184a84853f6f776206b70054d8f1a093d294f30e8cbce95f0d3cf16b62e
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ox/ox-2.0.9.ebuild,v 1.1 2013/09/02 22:46:12 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ox/ox-2.0.12.ebuild,v 1.1 2013/12/02 12:06:06 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
@ -1,3 +1,4 @@
|
||||
DIST uglifier-2.2.1.gem 73216 SHA256 9b1413ba2379456fc97490d4a1b81200722c73ea204073301ed88c9024b053d3 SHA512 0c198f8528943031cb82384401965041acb6ae541e175e8a0c9c26162134c5f4fd347b05ed42d476d8ab4d46139e5bdc6e32f36ae2ff17b9fcf6fc2e90077f55 WHIRLPOOL 71b2bfc97544696ca3b7a699dcfe63b4e7f322d4ce9edab7e76a166020d3e3190394a593c2e83907dcf194239730f8d164e9d9e0716633b83d485ca68ee92a08
|
||||
DIST uglifier-2.3.0.gem 74240 SHA256 07b0b623d0f81b2eb1855b3531aa1e10b36797e3a86f9f25e14eed1e7aca5cd7 SHA512 b9f3bd1f4a2dc52cbe3d4d1c08967f759f1672be8d3f70c668e9bbbae171e467d1d5ffef1ba3bc7283798a68ebcf20536f967ef4bdf443f250873da369db2d2d WHIRLPOOL 7effeb0a330812377d8fd51d0c227475572bd4a4855d7ac284bda7b2496c50f369b0a060b0671bb01c616f141c47fcb66db43e85f3c3f5be1adedd392f9749aa
|
||||
DIST uglifier-2.3.1.gem 75264 SHA256 e5328d79e5094b6984f415ddfc910247ef53868ea0008b6b841b6afea8161adb SHA512 4558c2207e562661b339ae1e640e4103844be557c17f5f0a6b8faab260fdb4140d9f3410f7726ed208d7c35db9ab3f6ad55a665de3dd96c605c28b2f720ad99e WHIRLPOOL 49869f77fe77a4f2927bf07120c8abec16db3f261e56e8c81c276b0b861316ed49a111559964d33dc8ea980e267df525026a626fa52c6583e91f4f5a2792a00c
|
||||
DIST uglifier-2.3.2.gem 75776 SHA256 5e942f02d11d9e4f6e18aa84cfd909e569fe887b12c3ecf66d92e8cf4162acf0 SHA512 75585948c5f195e2a843802dfe62143e3e8357689c39b7cc27ec21e683f6a5a13fe7d3c107f24526a5fcb4783b0d51a3c2deb7a83494a22b047924ee88c8bc86 WHIRLPOOL 1413f2503ff63aa63b1d4053214fe62ac72a79279f636abc3787eda6861f69334a79ebc6461ce5a5cef6df31d0543df8ba0676ada829a698b6a8ab2f55bf33ae
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uglifier/uglifier-2.3.2.ebuild,v 1.1 2013/12/02 06:59:58 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor."
|
||||
HOMEPAGE="https://github.com/lautis/uglifier"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/execjs-0.3.0 >=dev-ruby/json-1.8.0"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/source_map )"
|
@ -1,2 +1,4 @@
|
||||
DIST cppcheck-1.59.tar.bz2 1243616 SHA256 6be40d8422c545959d1cc44ce3f80be9f6d3d18f70d65b8d2e1b65284aa38f6e SHA512 c09f772a80e00c9a0a4ab09523e153dd21c205b6a91339886fbf36c2a27fc6c0a7c89d5721ed0e4c3f82df1b7e2d4b20949c78dcc167d2792d0d291d0c63b6e3 WHIRLPOOL ec9f6fcd079392bcc28a25700725b4bba87f10cc9eb1b7dceff7f268f4378731ae3cbc0f0156b486b1e3d6e9e8703890bc9c4a08ef96e205fc14a3209c3b6b1d
|
||||
DIST cppcheck-1.60.1.tar.bz2 1255595 SHA256 08c754744c1d53c2368692c133a69778f3bbfcce5c93a3f5b32575b9d7699449 SHA512 75e0ae2af2705670d2fb257447890f1214ceb341fde90b5380d5a47267bdf905ef5dd4d188e16e51662fa06f740c4b901b6c6376817070ebe69228654f4c9d2b WHIRLPOOL e79d0ec5b666fc4a09b8a84e14214dcd57f7a94b5a14ae8644f1145b69120321b890edb2a83627f5075a638d2c767ada51fbbe7ad7e345d80b33034620aa63e6
|
||||
DIST cppcheck-1.61.tar.bz2 1140799 SHA256 7cb21cb0fb3aed22040065db2bbfc42bf855db46ad8f023b73d465f7214b70d5 SHA512 2cea51103d542d9b03d319fb8badfefce5b0dc40279148d0b3217026a172cf62c2ae1f95c87b6b3da040077cf6a832fb44ef077faf189b59b2e56516c5909195 WHIRLPOOL 500ec0ca0c6afffbb39f8ee7fa9bac739c4947ec5e87b30bc62c6e2555bd678817b1a90fdc01ca22f125a2ff5bf189054bc01d85aee063be97637f35910e9e67
|
||||
DIST cppcheck-1.62.tar.bz2 1171442 SHA256 0c257368870985cdb870d0e95f3e909df881472eafcc7699a25681b9e0143d0c SHA512 abcb050119168ca866f88e95867c39d0b2180abded83bcdba112b9aed1f3db6e20b3507c37761f8f239b1095e96314aa11bb1cfbcbd9a265e727f55b1843b6a6 WHIRLPOOL 7c287aa9bc6faac7ac4dc2ea2fd18ae2d64b0796c997377ecab0a67ebcd1a6417d13cd5d2c9f4038f422467c070cd79f6a83d2e5f372dbc23d39d8c302fc21d9
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.61.ebuild,v 1.1 2013/12/03 08:53:50 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 eutils qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://apps.sourceforge.net/trac/cppcheck/"
|
||||
SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="htmlreport qt4"
|
||||
|
||||
DEPEND="htmlreport? ( ${PYTHON_DEPS} )
|
||||
qt4? ( dev-qt/qtgui:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc readme.txt
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
fi
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.62.ebuild,v 1.1 2013/12/03 08:53:50 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 eutils qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://apps.sourceforge.net/trac/cppcheck/"
|
||||
SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="htmlreport qt4"
|
||||
|
||||
DEPEND="htmlreport? ( ${PYTHON_DEPS} )
|
||||
qt4? ( dev-qt/qtgui:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc readme.txt
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
fi
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/umockdev/umockdev-0.4.7.ebuild,v 1.1 2013/12/02 09:57:30 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit python-any-r1 autotools-utils
|
||||
|
||||
DESCRIPTION="Mock hardware devices for creating unit tests"
|
||||
HOMEPAGE="https://github.com/martinpitt/umockdev/"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="virtual/udev[gudev]
|
||||
>=dev-libs/glib-2.32:2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
RESTRICT="test"
|
@ -0,0 +1,152 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-2.8.1.ebuild,v 1.1 2013/12/03 11:37:45 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Scalable distributed SCM"
|
||||
HOMEPAGE="http://mercurial.selenic.com/"
|
||||
SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bugzilla emacs gpg test tk zsh-completion"
|
||||
|
||||
RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
tk? ( dev-lang/tk )
|
||||
zsh-completion? ( app-shells/zsh )
|
||||
app-misc/ca-certificates"
|
||||
DEPEND="emacs? ( virtual/emacs )
|
||||
test? ( app-arch/unzip
|
||||
dev-python/pygments[${PYTHON_USEDEP}] )"
|
||||
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
python_prepare_all() {
|
||||
# fix up logic that won't work in Gentoo Prefix (also won't outside in
|
||||
# certain cases), bug #362891
|
||||
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
strip-flags -ftracer -ftree-vectorize
|
||||
# Note: make it impl-conditional if py3 is supported
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
"${PYTHON}" setup.py build_mo || die
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
rm -r contrib/{win32,macosx} || die
|
||||
if use emacs; then
|
||||
cd contrib || die
|
||||
elisp-compile mercurial.el || die "elisp-compile failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newbashcomp contrib/bash_completion hg
|
||||
|
||||
if use zsh-completion ; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins contrib/zsh_completion _hg
|
||||
fi
|
||||
|
||||
rm -f doc/*.?.txt
|
||||
dodoc CONTRIBUTORS
|
||||
cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
|
||||
|
||||
dobin hgeditor
|
||||
dobin contrib/hgk
|
||||
python_foreach_impl python_doscript contrib/hg-ssh
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
|
||||
*.el mercurial.spec)
|
||||
for f in ${RM_CONTRIB[@]}; do
|
||||
rm -rf contrib/$f || die
|
||||
done
|
||||
|
||||
dodoc -r contrib
|
||||
docompress -x /usr/share/doc/${PF}/contrib
|
||||
doman doc/*.?
|
||||
|
||||
cat > "${T}/80mercurial" <<-EOF
|
||||
HG="${EPREFIX}/usr/bin/hg"
|
||||
EOF
|
||||
doenvd "${T}/80mercurial"
|
||||
|
||||
insinto /etc/mercurial/hgrc.d
|
||||
doins "${FILESDIR}/cacerts.rc"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd tests || die
|
||||
rm -rf *svn* || die # Subversion tests fail with 1.5
|
||||
rm -f test-archive* || die # Fails due to verbose tar output changes
|
||||
rm -f test-convert-baz* || die # GNU Arch baz
|
||||
rm -f test-convert-cvs* || die # CVS
|
||||
rm -f test-convert-darcs* || die # Darcs
|
||||
rm -f test-convert-git* || die # git
|
||||
rm -f test-convert-mtn* || die # monotone
|
||||
rm -f test-convert-tla* || die # GNU Arch tla
|
||||
rm -f test-doctest* || die # doctest always fails with python 2.5.x
|
||||
rm -f test-largefiles* || die # tends to time out
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
einfo "Removing tests which require user privileges to succeed"
|
||||
rm -f test-command-template* || die # Test is broken when run as root
|
||||
rm -f test-convert* || die # Test is broken when run as root
|
||||
rm -f test-lock-badness* || die # Test is broken when run as root
|
||||
rm -f test-permissions* || die # Test is broken when run as root
|
||||
rm -f test-pull-permission* || die # Test is broken when run as root
|
||||
rm -f test-clone-failure* || die
|
||||
rm -f test-journal-exists* || die
|
||||
rm -f test-repair-strip* || die
|
||||
fi
|
||||
|
||||
cd .. || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local TEST_DIR
|
||||
|
||||
rm -rf "${TMPDIR}"/test
|
||||
distutils_install_for_testing
|
||||
cd tests || die
|
||||
"${PYTHON}" run-tests.py --verbose \
|
||||
--tmpdir="${TMPDIR}"/test \
|
||||
--with-hg="${TEST_DIR}"/scripts/hg \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
|
||||
elog "If you want to convert repositories from other tools using convert"
|
||||
elog "extension please install correct tool:"
|
||||
elog " dev-vcs/cvs"
|
||||
elog " dev-vcs/darcs"
|
||||
elog " dev-vcs/git"
|
||||
elog " dev-vcs/monotone"
|
||||
elog " dev-vcs/subversion"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,245 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/eclass/qmake-utils.eclass,v 1.1 2013/12/02 09:42:38 pinkbyte Exp $
|
||||
|
||||
# @ECLASS: qmake-utils.eclass
|
||||
# @MAINTAINER:
|
||||
# Qt herd <qt@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Davide Pesavento <pesa@gentoo.org>
|
||||
# @BLURB: Common functions for qmake-based packages.
|
||||
# @DESCRIPTION:
|
||||
# Utility eclass providing wrapper functions for Qt4 and Qt5 qmake.
|
||||
|
||||
if [[ ${___ECLASS_ONCE_QMAKE_UTILS} != "recur -_+^+_- spank" ]]; then
|
||||
___ECLASS_ONCE_QMAKE_UTILS="recur -_+^+_- spank"
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
# @FUNCTION: qmake-utils_find_pro_file
|
||||
# @RETURN: zero or one qmake .pro file names
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Outputs a project file name that can be passed to eqmake.
|
||||
# 0 *.pro files found --> outputs null string;
|
||||
# 1 *.pro file found --> outputs its name;
|
||||
# 2 or more *.pro files found --> if "${PN}.pro" or
|
||||
# "$(basename ${S}).pro" are there, outputs one of them.
|
||||
qmake-utils_find_pro_file() {
|
||||
local dir_name=$(basename "${S}")
|
||||
|
||||
# set nullglob to avoid expanding *.pro to the literal
|
||||
# string "*.pro" when there are no matching files
|
||||
eshopts_push -s nullglob
|
||||
local pro_files=(*.pro)
|
||||
eshopts_pop
|
||||
|
||||
case ${#pro_files[@]} in
|
||||
0)
|
||||
: ;;
|
||||
1)
|
||||
echo "${pro_files}"
|
||||
;;
|
||||
*)
|
||||
for pro_file in "${pro_files[@]}"; do
|
||||
if [[ ${pro_file%.pro} == ${dir_name} || ${pro_file%.pro} == ${PN} ]]; then
|
||||
echo "${pro_file}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# @VARIABLE: EQMAKE4_EXCLUDE
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# List of files to be excluded from eqmake4 CONFIG processing.
|
||||
# Paths are relative to the current working directory (usually ${S}).
|
||||
#
|
||||
# Example: EQMAKE4_EXCLUDE="ignore/me.pro foo/*"
|
||||
|
||||
# @FUNCTION: eqmake4
|
||||
# @USAGE: [project_file] [parameters to qmake]
|
||||
# @DESCRIPTION:
|
||||
# Wrapper for Qt4's qmake. If project_file isn't specified, eqmake4 will
|
||||
# look for it in the current directory (${S}, non-recursively). If more
|
||||
# than one project file are found, then ${PN}.pro is processed, provided
|
||||
# that it exists. Otherwise eqmake4 fails.
|
||||
#
|
||||
# All other arguments are appended unmodified to qmake command line.
|
||||
#
|
||||
# For recursive build systems, i.e. those based on the subdirs template,
|
||||
# you should run eqmake4 on the top-level project file only, unless you
|
||||
# have a valid reason to do otherwise. During the building, qmake will
|
||||
# be automatically re-invoked with the right arguments on every directory
|
||||
# specified inside the top-level project file.
|
||||
eqmake4() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EPREFIX=
|
||||
|
||||
ebegin "Running qmake"
|
||||
|
||||
local qmake_args=("$@")
|
||||
|
||||
# check if project file was passed as a first argument
|
||||
# if not, then search for it
|
||||
local regexp='.*\.pro'
|
||||
if ! [[ ${1} =~ ${regexp} ]]; then
|
||||
local project_file=$(qmake-utils_find_pro_file)
|
||||
if [[ -z ${project_file} ]]; then
|
||||
echo
|
||||
eerror "No project files found in '${PWD}'!"
|
||||
eerror "This shouldn't happen - please send a bug report to https://bugs.gentoo.org/"
|
||||
echo
|
||||
die "eqmake4 failed"
|
||||
fi
|
||||
qmake_args+=("${project_file}")
|
||||
fi
|
||||
|
||||
# make sure CONFIG variable is correctly set
|
||||
# for both release and debug builds
|
||||
local config_add="release"
|
||||
local config_remove="debug"
|
||||
if has debug ${IUSE} && use debug; then
|
||||
config_add="debug"
|
||||
config_remove="release"
|
||||
fi
|
||||
|
||||
local awkscript='BEGIN {
|
||||
printf "### eqmake4 was here ###\n" > file;
|
||||
printf "CONFIG -= debug_and_release %s\n", remove >> file;
|
||||
printf "CONFIG += %s\n\n", add >> file;
|
||||
fixed=0;
|
||||
}
|
||||
/^[[:blank:]]*CONFIG[[:blank:]]*[\+\*]?=/ {
|
||||
if (gsub("\\<((" remove ")|(debug_and_release))\\>", "") > 0) {
|
||||
fixed=1;
|
||||
}
|
||||
}
|
||||
/^[[:blank:]]*CONFIG[[:blank:]]*-=/ {
|
||||
if (gsub("\\<" add "\\>", "") > 0) {
|
||||
fixed=1;
|
||||
}
|
||||
}
|
||||
{
|
||||
print >> file;
|
||||
}
|
||||
END {
|
||||
print fixed;
|
||||
}'
|
||||
|
||||
[[ -n ${EQMAKE4_EXCLUDE} ]] && eshopts_push -o noglob
|
||||
|
||||
local file
|
||||
while read file; do
|
||||
local excl
|
||||
for excl in ${EQMAKE4_EXCLUDE}; do
|
||||
[[ ${file} == ${excl} ]] && continue 2
|
||||
done
|
||||
grep -q '^### eqmake4 was here ###$' "${file}" && continue
|
||||
|
||||
local retval=$({
|
||||
rm -f "${file}" || echo FAIL
|
||||
awk -v file="${file}" \
|
||||
-v add=${config_add} \
|
||||
-v remove=${config_remove} \
|
||||
-- "${awkscript}" || echo FAIL
|
||||
} < "${file}")
|
||||
|
||||
if [[ ${retval} == 1 ]]; then
|
||||
einfo " - fixed CONFIG in ${file}"
|
||||
elif [[ ${retval} != 0 ]]; then
|
||||
eerror " - error while processing ${file}"
|
||||
die "eqmake4 failed to process ${file}"
|
||||
fi
|
||||
done < <(find . -type f -name '*.pr[io]' -printf '%P\n' 2>/dev/null)
|
||||
|
||||
[[ -n ${EQMAKE4_EXCLUDE} ]] && eshopts_pop
|
||||
|
||||
"${EPREFIX}"/usr/bin/qmake \
|
||||
-makefile \
|
||||
QTDIR="${EPREFIX}"/usr/$(get_libdir) \
|
||||
QMAKE="${EPREFIX}"/usr/bin/qmake \
|
||||
QMAKE_AR="$(tc-getAR) cqs" \
|
||||
QMAKE_CC="$(tc-getCC)" \
|
||||
QMAKE_CXX="$(tc-getCXX)" \
|
||||
QMAKE_LINK="$(tc-getCXX)" \
|
||||
QMAKE_LINK_C="$(tc-getCC)" \
|
||||
QMAKE_OBJCOPY="$(tc-getOBJCOPY)" \
|
||||
QMAKE_RANLIB= \
|
||||
QMAKE_STRIP= \
|
||||
QMAKE_CFLAGS="${CFLAGS}" \
|
||||
QMAKE_CFLAGS_RELEASE= \
|
||||
QMAKE_CFLAGS_DEBUG= \
|
||||
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
||||
QMAKE_CXXFLAGS_RELEASE= \
|
||||
QMAKE_CXXFLAGS_DEBUG= \
|
||||
QMAKE_LFLAGS="${LDFLAGS}" \
|
||||
QMAKE_LFLAGS_RELEASE= \
|
||||
QMAKE_LFLAGS_DEBUG= \
|
||||
QMAKE_LIBDIR_QT="${EPREFIX}"/usr/$(get_libdir)/qt4 \
|
||||
QMAKE_LIBDIR_X11="${EPREFIX}"/usr/$(get_libdir) \
|
||||
QMAKE_LIBDIR_OPENGL="${EPREFIX}"/usr/$(get_libdir) \
|
||||
"${qmake_args[@]}"
|
||||
|
||||
# was qmake successful?
|
||||
if ! eend $? ; then
|
||||
echo
|
||||
eerror "Running qmake has failed! (see above for details)"
|
||||
eerror "This shouldn't happen - please send a bug report to https://bugs.gentoo.org/"
|
||||
echo
|
||||
die "eqmake4 failed"
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: eqmake5
|
||||
# @USAGE: [arguments for qmake]
|
||||
# @DESCRIPTION:
|
||||
# Wrapper for Qt5's qmake. All arguments are passed to qmake.
|
||||
#
|
||||
# For recursive build systems, i.e. those based on the subdirs template,
|
||||
# you should run eqmake5 on the top-level project file only, unless you
|
||||
# have a valid reason to do otherwise. During the building, qmake will
|
||||
# be automatically re-invoked with the right arguments on every directory
|
||||
# specified inside the top-level project file.
|
||||
eqmake5() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EPREFIX=
|
||||
|
||||
ebegin "Running qmake"
|
||||
|
||||
"${EPREFIX}"/usr/$(get_libdir)/qt5/bin/qmake \
|
||||
-makefile \
|
||||
QMAKE_AR="$(tc-getAR) cqs" \
|
||||
QMAKE_CC="$(tc-getCC)" \
|
||||
QMAKE_CXX="$(tc-getCXX)" \
|
||||
QMAKE_LINK="$(tc-getCXX)" \
|
||||
QMAKE_LINK_C="$(tc-getCC)" \
|
||||
QMAKE_OBJCOPY="$(tc-getOBJCOPY)" \
|
||||
QMAKE_RANLIB= \
|
||||
QMAKE_STRIP= \
|
||||
QMAKE_CFLAGS="${CFLAGS}" \
|
||||
QMAKE_CFLAGS_RELEASE= \
|
||||
QMAKE_CFLAGS_DEBUG= \
|
||||
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
||||
QMAKE_CXXFLAGS_RELEASE= \
|
||||
QMAKE_CXXFLAGS_DEBUG= \
|
||||
QMAKE_LFLAGS="${LDFLAGS}" \
|
||||
QMAKE_LFLAGS_RELEASE= \
|
||||
QMAKE_LFLAGS_DEBUG= \
|
||||
"$@"
|
||||
|
||||
# was qmake successful?
|
||||
if ! eend $? ; then
|
||||
echo
|
||||
eerror "Running qmake has failed! (see above for details)"
|
||||
eerror "This shouldn't happen - please send a bug report to https://bugs.gentoo.org/"
|
||||
echo
|
||||
die "eqmake5 failed"
|
||||
fi
|
||||
}
|
||||
|
||||
fi
|
@ -1,6 +1,5 @@
|
||||
DIST renpy-6.14.1-source.tar.bz2 9806538 SHA256 18be3630d1956131a1f010732d15292cdcec14a2391210af27dc342fafd8197f SHA512 a1f13a5f860e66054012eab29bbd37715bd9721e2dc30fdd9c8d4d8c58dc672c35b3c813e962ad6878cb741502af5a181dff8a05f359892b6b60d2e15bc5a7bc WHIRLPOOL 54018731e136106f328bf2d028841f09424d8ffd8303821eec995c55918b2c8ac7eb97d9ed24785e95ad3d878b794f5bcf96cc9f783955f8d1ace086a3ca9b61
|
||||
DIST renpy-6.15.4-source.tar.bz2 10393987 SHA256 1c32fef5fda6f14134ea5e18f4754934644f86bdd968b4600b03b373f2d8e9cb SHA512 d68d5d64b29bf3eb19a38aa9dc540278e0b054dc2629aaa01866fbf2976cc6a5ffb0027706004526112782b25d0a8aae76a6b3958b5bfdac8a62841ba223554a WHIRLPOOL 008e1e3986d97d24256b6438de00be7ae676c893a67d975037c8bbfc5bfbdb886cb70d28bed3dfbec5c6529906b66071cc990fc617c1b579f8d2f9f9afe20ca8
|
||||
DIST renpy-6.15.7-source.tar.bz2 10421736 SHA256 b4280b62f7c8f730a37c7e567b16216b4578fc3640fbcdf5df7c65a73ae52e52 SHA512 d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6 WHIRLPOOL 202ddb045f440f9abd06f5ac02ebd92a7b0300b14f4755271f1fc4e91bdea21cda19a432f45516f68ba3ad7ead98d7491382ad5c633da277a674f799458795f3
|
||||
DIST renpy-6.16.0-source.tar.bz2 10505396 SHA256 82765970429be581a514609826d83bf1d9c6a9a3a497ed00a7b07db51ee10a2c SHA512 3391f147d2ab49024f1ebedbfac5d857ad52d8a50290c06d0679c35b39712372756e8e95ccdc9ad9a1392cf8ef03a0c8c90a1df9094d522faad457e8c9dc040e WHIRLPOOL 383ee91ade2d2dbab483d7c20f4cfef5fea85231d193d6a7edcc95323dcf5ba225f5064e613131cc9e664b410fdf9edaa385a211fa68fcf06fa8674d038a7b4f
|
||||
DIST renpy-6.16.1-source.tar.bz2 14425111 SHA256 74c062b57afc33938f196a0a9f78c5de75def93f2750dbef2585fd048b2df089 SHA512 8a25e46fe94a1517ff2ab1c105f1bd368f4f9926ccd594a6e93e1e97d72fef8a82ff67d3c07b36f596a2cb890fda9b77dbd7f46dfea5bfcca981833bbab46a06 WHIRLPOOL e15d42f741865bffd0ea3213b806dc4980fcd2b04c5180d107a7728f83e0ee131707d67bda83c8564d614ac1957fb162ebf95ef3a33b43d8d0cb383a25870ed0
|
||||
DIST renpy-6.16.2-source.tar.bz2 14472212 SHA256 6212d34f5187cae6f98924bfff1aa983c9942b2aef0041cd2702255a9fef61d8 SHA512 fc3b40f01f2d1e820a05f90a2d85e42986aaa4840e506d18ea76a78527d2f98ca6cf832ebde3e1f996b94f4ce4b175856da913f3de7f1a9db48aba0eea84b52d WHIRLPOOL 5ed14cf741729a420e63c1520a2d2c04d8b5e0976023a545377fcef284be80ed1852d8c0d0a3b005a293b620298e9432f795da55dfba438528c7fd31e6a975a3
|
||||
DIST renpy-6.16.3-source.tar.bz2 14465781 SHA256 163f25df41b3e20b48f7d777b6137a96d509730484c24cb1a210dc5990e4a779 SHA512 d22cec9232d5250f343305163b10a7edfc44ef6f0db2df9c18b4c67072d4339a6fe6ed4e04808d9d49bcbce451416c8b3fc8da5248294161213b4c985832314d WHIRLPOOL 345fbb98ece9254d670bfafcbf7cba24899058c469ca7d4bfc2da720317c70fdd3ae540609b04081afb75d875213bbd0c26ac745f325cdc67e27b33b515f6e4f
|
||||
|
@ -1,245 +0,0 @@
|
||||
commit 23f67fe23d7b51e352a500a0e005ae3ef4dbc097
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Sat Oct 26 22:17:31 2013 +0200
|
||||
|
||||
fix multiple abi support
|
||||
|
||||
diff --git a/renpy.py b/renpy.py
|
||||
index 9f2977f..394e4e1 100644
|
||||
--- a/renpy.py
|
||||
+++ b/renpy.py
|
||||
@@ -28,82 +28,9 @@
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
-
|
||||
-# Functions to be customized by distributors. ################################
|
||||
-
|
||||
-# Given the Ren'Py base directory (usually the directory containing
|
||||
-# this file), this is expected to return the path to the common directory.
|
||||
-def path_to_common(renpy_base):
|
||||
- return renpy_base + "/renpy/common"
|
||||
-
|
||||
-# Given a directory holding a Ren'Py game, this is expected to return
|
||||
-# the path to a directory that will hold save files.
|
||||
-def path_to_saves(gamedir):
|
||||
- import renpy #@UnresolvedImport
|
||||
-
|
||||
- # Android.
|
||||
- if renpy.android:
|
||||
- paths = [
|
||||
- os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
- os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
- os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
- ]
|
||||
-
|
||||
- for rv in paths:
|
||||
- if os.path.isdir(rv):
|
||||
- break
|
||||
-
|
||||
- print "Using savedir", rv
|
||||
-
|
||||
- # We return the last path as the default.
|
||||
-
|
||||
- return rv
|
||||
-
|
||||
-
|
||||
- # No save directory given.
|
||||
- if not renpy.config.save_directory:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
- # If it exists, then use that for our save directory.
|
||||
- path = renpy.config.renpy_base
|
||||
-
|
||||
- while True:
|
||||
- if os.path.isdir(path + "/Ren'Py Data"):
|
||||
- return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
-
|
||||
- newpath = os.path.dirname(path)
|
||||
- if path == newpath:
|
||||
- break
|
||||
- path = newpath
|
||||
-
|
||||
- # Otherwise, put the saves in a platform-specific location.
|
||||
- if renpy.macintosh:
|
||||
- rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- elif renpy.windows:
|
||||
- if 'APPDATA' in os.environ:
|
||||
- return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
- else:
|
||||
- rv = "~/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- else:
|
||||
- rv = "~/.renpy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
-
|
||||
-# Returns the path to the Ren'Py base directory (containing common and
|
||||
-# the launcher, usually.)
|
||||
-def path_to_renpy_base():
|
||||
- renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
- renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
- renpy_base = os.path.abspath(renpy_base)
|
||||
-
|
||||
- return renpy_base
|
||||
-
|
||||
-##############################################################################
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+sys.path.append(get_python_lib() + "/renpy@SLOT@")
|
||||
+import renpy.common as common
|
||||
|
||||
# The version of the Mac Launcher and py4renpy that we require.
|
||||
macos_version = (6, 14, 0)
|
||||
@@ -131,7 +58,7 @@ if android:
|
||||
|
||||
def main():
|
||||
|
||||
- renpy_base = path_to_renpy_base()
|
||||
+ renpy_base = common.path_to_renpy_base()
|
||||
|
||||
# Add paths.
|
||||
if os.path.exists(renpy_base + "/module"):
|
||||
diff --git a/renpy/common.py b/renpy/common.py
|
||||
new file mode 100644
|
||||
index 0000000..1f15b3c
|
||||
--- /dev/null
|
||||
+++ b/renpy/common.py
|
||||
@@ -0,0 +1,103 @@
|
||||
+# This file is part of Ren'Py. The license below applies to Ren'Py only.
|
||||
+# Games and other projects that use Ren'Py may use a different license.
|
||||
+
|
||||
+# Copyright 2004-2012 Tom Rothamel <pytom@bishoujo.us>
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person
|
||||
+# obtaining a copy of this software and associated documentation files
|
||||
+# (the "Software"), to deal in the Software without restriction,
|
||||
+# including without limitation the rights to use, copy, modify, merge,
|
||||
+# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
+# and to permit persons to whom the Software is furnished to do so,
|
||||
+# subject to the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be
|
||||
+# included in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+import os
|
||||
+import sys
|
||||
+import warnings
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+
|
||||
+# Functions to be customized by distributors. ################################
|
||||
+
|
||||
+# Given the Ren'Py base directory (usually the directory containing
|
||||
+# this file), this is expected to return the path to the common directory.
|
||||
+def path_to_common(renpy_base):
|
||||
+ return renpy_base + "/renpy/common"
|
||||
+
|
||||
+# Given a directory holding a Ren'Py game, this is expected to return
|
||||
+# the path to a directory that will hold save files.
|
||||
+def path_to_saves(gamedir):
|
||||
+ import renpy #@UnresolvedImport
|
||||
+
|
||||
+ # Android.
|
||||
+ if renpy.android:
|
||||
+ paths = [
|
||||
+ os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
+ ]
|
||||
+
|
||||
+ for rv in paths:
|
||||
+ if os.path.isdir(rv):
|
||||
+ break
|
||||
+
|
||||
+ print "Using savedir", rv
|
||||
+
|
||||
+ # We return the last path as the default.
|
||||
+
|
||||
+ return rv
|
||||
+
|
||||
+
|
||||
+ # No save directory given.
|
||||
+ if not renpy.config.save_directory:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
+ # If it exists, then use that for our save directory.
|
||||
+ path = renpy.config.renpy_base
|
||||
+
|
||||
+ while True:
|
||||
+ if os.path.isdir(path + "/Ren'Py Data"):
|
||||
+ return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
+
|
||||
+ newpath = os.path.dirname(path)
|
||||
+ if path == newpath:
|
||||
+ break
|
||||
+ path = newpath
|
||||
+
|
||||
+ # Otherwise, put the saves in a platform-specific location.
|
||||
+ if renpy.macintosh:
|
||||
+ rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ elif renpy.windows:
|
||||
+ if 'APPDATA' in os.environ:
|
||||
+ return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
+ else:
|
||||
+ rv = "~/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ else:
|
||||
+ rv = "~/.renpy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+
|
||||
+# Returns the path to the Ren'Py base directory (containing common and
|
||||
+# the launcher, usually.)
|
||||
+def path_to_renpy_base():
|
||||
+ renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
+ renpy_base = get_python_lib() + "/renpy@SLOT@"
|
||||
+ renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
+ renpy_base = os.path.abspath(renpy_base)
|
||||
+
|
||||
+ return renpy_base
|
||||
diff --git a/renpy/main.py b/renpy/main.py
|
||||
index d15eefc..b11bba9 100644
|
||||
--- a/renpy/main.py
|
||||
+++ b/renpy/main.py
|
||||
@@ -26,7 +26,7 @@ import sys
|
||||
import time
|
||||
import zipfile
|
||||
import subprocess
|
||||
-import __main__
|
||||
+import renpy.common as common
|
||||
|
||||
|
||||
def run(restart):
|
||||
@@ -166,7 +166,7 @@ def main():
|
||||
renpy.config.searchpath = [ renpy.config.gamedir ]
|
||||
|
||||
# Find the common directory.
|
||||
- commondir = __main__.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
+ commondir = common.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
|
||||
if os.path.isdir(commondir):
|
||||
renpy.config.searchpath.append(commondir)
|
||||
@@ -229,7 +229,7 @@ def main():
|
||||
|
||||
# Find the save directory.
|
||||
if renpy.config.savedir is None:
|
||||
- renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
+ renpy.config.savedir = common.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
|
||||
if renpy.game.args.savedir: #@UndefinedVariable
|
||||
renpy.config.savedir = renpy.game.args.savedir #@UndefinedVariable
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue