part 2 --yali deps--
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "dmraid/1.0.0.rc16-3/dmraid/"
|
||||
|
||||
def builddiet():
|
||||
autotools.make("distclean")
|
||||
shelltools.export("CC", "diet %s %s %s -Os -static" % (get.CC(), get.CFLAGS(), get.LDFLAGS()))
|
||||
autotools.configure("--disable-libselinux \
|
||||
--disable-libsepol")
|
||||
|
||||
autotools.make("-j1")
|
||||
|
||||
pisitools.insinto("/sbin/", "tools/dmraid", "dmraid.static")
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-shared_lib")
|
||||
|
||||
def build():
|
||||
autotools.make("-j1")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#builddiet()
|
||||
pisitools.dodoc("CHANGELOG", "README", "TODO", "KNOWN_BUGS", "doc/*")
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/1.0.0.rc16/lib/metadata/metadata.c 2009-11-27 21:57:50.182129589 -0800
|
||||
+++ b/1.0.0.rc16/lib/metadata/metadata.c 2009-11-27 21:57:58.950964293 -0800
|
||||
@@ -839,7 +839,7 @@
|
||||
*/
|
||||
if (T_GROUP(rs)) {
|
||||
_discover_partitions(lc, &rs->sets);
|
||||
- return;
|
||||
+ continue;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -0,0 +1,110 @@
|
||||
--- tools/Makefile.in.old 2010-05-31 07:18:31.000000000 -0400
|
||||
+++ tools/Makefile.in 2010-12-13 13:15:22.000000000 -0500
|
||||
@@ -60,17 +60,23 @@
|
||||
ifeq ("@KLIBC@", "no")
|
||||
ifeq ("@STATIC_LINK@", "no")
|
||||
LDFLAGS += -rdynamic
|
||||
+ MYLIBOBJ=$(top_builddir)/lib/libdmraid.so
|
||||
else
|
||||
LDFLAGS += -static
|
||||
+ MYLIBOBJ=$(top_builddir)/lib/libdmraid.a
|
||||
+ DMRAIDLIBS += \
|
||||
+ $(DEVMAPPEREVENT_LIBS) \
|
||||
+ $(DEVMAPPER_LIBS) \
|
||||
+ $(DL_LIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
.PHONY: install_dmraid_tools
|
||||
|
||||
-dmraid: $(OBJECTS) $(top_builddir)/lib/libdmraid.a
|
||||
+dmraid: $(OBJECTS) $(MYLIBOBJ)
|
||||
$(CC) -o $@ $(OBJECTS) $(LDFLAGS) -L$(top_builddir)/lib $(DMRAIDLIBS) $(LIBS)
|
||||
|
||||
-dmevent_tool: $(OBJECTS2) $(top_builddir)/lib/libdmraid.a
|
||||
+dmevent_tool: $(OBJECTS2) $(MYLIBOBJ)
|
||||
$(CC) -o $@ $(OBJECTS2) $(INCLUDES) $(LDFLAGS) -L$(top_builddir)/lib \
|
||||
$(DMEVENTTOOLLIBS) $(DMRAIDLIBS) $(LIBS)
|
||||
|
||||
--- lib/Makefile.in.old 2010-10-27 07:31:46.000000000 -0400
|
||||
+++ lib/Makefile.in 2010-12-13 13:04:16.000000000 -0500
|
||||
@@ -60,11 +60,11 @@
|
||||
USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \
|
||||
$(AWK) -f $(top_srcdir)/tools/relpath.awk)
|
||||
|
||||
-TARGETS = $(LIB_STATIC)
|
||||
+TARGETS = $(LIB_STATIC) $(LIB_SHARED) $(LIB_EVENTS_SHARED)
|
||||
|
||||
ifeq ("@KLIBC@", "no")
|
||||
ifeq ("@STATIC_LINK@", "no")
|
||||
- TARGETS += $(LIB_SHARED) $(LIB_EVENTS_SHARED)
|
||||
+ TARGETS = $(LIB_SHARED) $(LIB_EVENTS_SHARED)
|
||||
endif
|
||||
endif
|
||||
|
||||
--- configure.in 2010-05-31 07:18:30.000000000 -0400
|
||||
+++ configure.in.new 2010-12-07 13:30:40.000000000 -0500
|
||||
@@ -155,6 +155,15 @@
|
||||
Default is dynamic linking]),
|
||||
[STATIC_LINK=$enableval], [STATIC_LINK=no])
|
||||
|
||||
+if test "x$STATIC_LINK" != "xno"; then
|
||||
+ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
||||
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
|
||||
+ fi
|
||||
+ PKG_CONFIG="${PKG_CONFIG} --static"
|
||||
+ ac_cv_env_PKG_CONFIG_set=set
|
||||
+fi
|
||||
+PKG_PROG_PKG_CONFIG([0.2])
|
||||
+
|
||||
dnl Enables shared libdmraid
|
||||
AC_ARG_ENABLE(shared_lib,
|
||||
AC_HELP_STRING([--enable-shared_lib], [Use this to generate shared
|
||||
@@ -248,23 +257,31 @@
|
||||
AC_HELP_STRING([--with-devmapper-prefix=PFX],
|
||||
[Where is devmapper library installed]),
|
||||
[DEVMAPPER_LIBS="-L$withval/lib"
|
||||
- DEVMAPPER_CFLAGS="-I$withval/include"],
|
||||
+ DEVMAPPER_CFLAGS="-I$withval/include"
|
||||
+ dmprefix=$withval],
|
||||
[DEVMAPPER_LIBS=
|
||||
- DEVMAPPER_CFLAGS=])
|
||||
-save_LDFLAGS=$LDFLAGS
|
||||
-save_CPPFLAGS=$CPPFLAGS
|
||||
-LDFLAGS="$LDFLAGS $DEVMAPPER_LIBS"
|
||||
-CPPFLAGS="$CPPFLAGS $DEVMAPPER_CFLAGS"
|
||||
-AC_CHECK_LIB(devmapper-event, dm_event_handler_create,
|
||||
- [DEVMAPPEREVENT_LIBS="$DEVMAPPER_LIBS -ldevmapper-event"],
|
||||
- [AC_MSG_ERROR([device-mapper-event library is either missing or is too old and badly linked])])
|
||||
-AC_CHECK_LIB(devmapper, dm_task_set_name,
|
||||
- [DEVMAPPER_LIBS="$DEVMAPPER_LIBS -ldevmapper"],
|
||||
- [AC_MSG_ERROR([device-mapper library is missing])])
|
||||
-AC_CHECK_HEADERS(libdevmapper.h libdevmapper-event.h,,
|
||||
- [AC_MSG_ERROR([Missing headers device-mapper headers])])
|
||||
-CPPFLAGS=$save_CPPFLAGS
|
||||
-LDFLAGS=$save_LDFLAGS
|
||||
+ DEVMAPPER_CFLAGS=
|
||||
+ dmprefix=no])
|
||||
+if test "x$dmprefix" = xno ; then
|
||||
+ PKG_CHECK_MODULES([DEVMAPPER],[devmapper],
|
||||
+ [PKG_CHECK_MODULES([DEVMAPPEREVENT],[devmapper-event])
|
||||
+ ])
|
||||
+else
|
||||
+ save_LDFLAGS=$LDFLAGS
|
||||
+ save_CPPFLAGS=$CPPFLAGS
|
||||
+ LDFLAGS="$LDFLAGS $DEVMAPPER_LIBS"
|
||||
+ CPPFLAGS="$CPPFLAGS $DEVMAPPER_CFLAGS"
|
||||
+ AC_CHECK_LIB(devmapper-event, dm_event_handler_create,
|
||||
+ [DEVMAPPEREVENT_LIBS="$DEVMAPPER_LIBS -ldevmapper-event"],
|
||||
+ [AC_MSG_ERROR([device-mapper-event library is either missing or is too old and badly linked])])
|
||||
+ AC_CHECK_LIB(devmapper, dm_task_set_name,
|
||||
+ [DEVMAPPER_LIBS="$DEVMAPPER_LIBS -ldevmapper"],
|
||||
+ [AC_MSG_ERROR([device-mapper library is missing])])
|
||||
+ AC_CHECK_HEADERS(libdevmapper.h libdevmapper-event.h,,
|
||||
+ [AC_MSG_ERROR([Missing headers device-mapper headers])])
|
||||
+ CPPFLAGS=$save_CPPFLAGS
|
||||
+ LDFLAGS=$save_LDFLAGS
|
||||
+fi
|
||||
|
||||
VERSION=$srcdir/tools/VERSION
|
||||
DMRAID_LIB_MAJOR=$(cut -d. -f1 $VERSION)
|
||||
@@ -0,0 +1,13 @@
|
||||
Author: Giuseppe Iuculano <giuseppe@iuculano.it>
|
||||
Description: Removed "p" from device name. A proper upgrade script is needed before using it.
|
||||
--- a/1.0.0.rc15/lib/format/partition/dos.c
|
||||
+++ b/1.0.0.rc15/lib/format/partition/dos.c
|
||||
@@ -31,7 +31,7 @@ _name(struct lib_context *lc, struct rai
|
||||
{
|
||||
const char *base = get_basename(lc, rd->di->path);
|
||||
|
||||
- return type ? snprintf(str, len, "%s%s%u", base, OPT_STR_PARTCHAR(lc),
|
||||
+ return type ? snprintf(str, len, "%s%u", base,
|
||||
partition) : snprintf(str, len, "%s", base);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- dmraid/lib/misc/file.c~ 2008-06-12 12:54:32.000000000 +0200
|
||||
+++ dmraid/lib/misc/file.c 2009-03-19 00:14:33.000000000 +0100
|
||||
@@ -69,7 +69,7 @@
|
||||
if ((fd = open(path, flags, lc->mode)) == -1)
|
||||
LOG_ERR(lc, 0, "opening \"%s\"", path);
|
||||
|
||||
-#ifdef __KLIBC__
|
||||
+#if defined(__KLIBC__) || defined(__dietlibc__)
|
||||
#define DMRAID_LSEEK lseek
|
||||
#else
|
||||
#define DMRAID_LSEEK lseek64
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>dmraid</Name>
|
||||
<Homepage>http://people.redhat.com/~heinzm/sw/dmraid</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Device-Mapper Software RAID support tool and library</Summary>
|
||||
<Description>Device-Mapper Software RAID support tool and library</Description>
|
||||
<Archive sha1sum="162b6173b91a0121a52402d2ed939b43d74ff605" type="tarbz2">http://launchpad.net/dmraid/1.0/1.0.0.rc16-3/+download/dmraid-1.0.0.rc16-3.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>device-mapper-event-devel</Dependency>
|
||||
<Dependency>device-mapper-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">dmraid-diet.patch</Patch>
|
||||
<Patch level="2">dmraid-1.0.0_rc16-return-all-sets.patch</Patch>
|
||||
<Patch level="0">dmraid-1.0.0_rc16-static-build-fixes.patch</Patch>
|
||||
<Patch level="2">dmraid-1.0.0_rc16-undo-p-rename.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>dmraid</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>device-mapper</Dependency>
|
||||
<Dependency>device-mapper-event</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>dmraid-devel</Name>
|
||||
<Summary>Development files for dmraid</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">dmraid</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<!--
|
||||
<Package>
|
||||
<Name>dmraid-static</Name>
|
||||
<PartOf>system.static</PartOf>
|
||||
<Files>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
-->
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-02-17</Date>
|
||||
<Version>1.0.0_rc16</Version>
|
||||
<Comment>Release.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-03-15</Date>
|
||||
<Version>1.0.0_rc16</Version>
|
||||
<Comment>V.Bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>1.0.0_rc15</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>dmraid</Name>
|
||||
<Summary xml:lang="tr">ATARAID aygıtlarını (Yazılımsal RAID) denetleme aracı</Summary>
|
||||
<Description xml:lang="tr">ATARAID aygıtları yaratmak, yönetmek ve izlemek için kullanılan bir araçtır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>dmraid-devel</Name>
|
||||
<Summary xml:lang="tr">dmraid için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pyparted</Name>
|
||||
<Homepage>http://people.redhat.com/dcantrel/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python bindings for parted</Summary>
|
||||
<Description>pyparted is the python module which enables to use GNU Parted package from python. Using python with this module, programmers can create, destroy, resize, check and copy partitions, and the file systems on them.</Description>
|
||||
<Archive sha1sum="3b8d3dcb3ce2c15ed4305748eff251d5c90a1548" type="targz">https://github.com/rhinstaller/pyparted/archive/v3.10.5.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-decorator</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency releaseFrom="4">parted-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>pyparted</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python-decorator</Dependency>
|
||||
<Dependency>parted</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2015-08-04</Date>
|
||||
<Version>3.10.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-06-21</Date>
|
||||
<Version>3.10.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-08-09</Date>
|
||||
<Version>3.9.5</Version>
|
||||
<Comment>Revert back to 3.9 latest stable series.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-03</Date>
|
||||
<Version>3.10</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-24</Date>
|
||||
<Version>3.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pyparted</Name>
|
||||
<Summary xml:lang="tr">Disk bölümleme tablolarını yönetmek için kullanılan parted kütüphanesine erişim sağlayan Python modülü.</Summary>
|
||||
<Description xml:lang="tr">pyparted, GNU Parted uygulamasının python programlama diliyle kullanılabilmesi için gerekli olan kütüphanedir. Bu modülü kullanan programcılar, python ile yeni disk bölümleri ya da dosya sistemleri oluşturabilir, bunları silebilir, yeniden boyutlandırabilir, kontrol edebilir ve kopyalayabilir.</Description>
|
||||
<Description xml:lang="fr">pyparted est un module python permettant d'utiliser le paquet GNU Parted depuis python. À l'aide de ce module, les programmeurs peuvent depuis python détruire, re-dimensionner, vérifier et copier des partitions et les systèmes de fichier présents dessus.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def check():
|
||||
shelltools.system("nosetests --with-doctest -e documentation")
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-decorator</Name>
|
||||
<Homepage>http://www.phyast.pitt.edu/~micheles/python/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python module to simplify the usage of decorators</Summary>
|
||||
<Description>python-decorator simplifies the usage of decorators for the average programmer.</Description>
|
||||
<Archive sha1sum="9ca491f88a5b5456d0f0eb8d26cf6ebd780e2934" type="targz">http://pypi.python.org/packages/source/d/decorator/decorator-4.0.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-nose</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-decorator</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-08-04</Date>
|
||||
<Version>4.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2015-06-21</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-06</Date>
|
||||
<Version>3.4.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-11</Date>
|
||||
<Version>3.4.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-decorator</Name>
|
||||
<Summary xml:lang="tr">Dekoratör kullanımını kolaylaştıran python modulü</Summary>
|
||||
<Description xml:lang="tr">python-decorator, ortalama bir Python programcısı için dekoratör kullanımını basitleştirir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "nose-%s" % get.srcVERSION()
|
||||
|
||||
examples = "%s/%s/" % (get.docDIR(), get.srcNAME())
|
||||
|
||||
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
|
||||
|
||||
def install():
|
||||
pisitools.dosed("setup.py", "man/man1", "share/man/man1")
|
||||
|
||||
pythonmodules.install()
|
||||
|
||||
pisitools.dohtml("doc/*")
|
||||
|
||||
shelltools.chmod("examples/*", 0644)
|
||||
pisitools.insinto(examples, "examples/*")
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-nose</Name>
|
||||
<Homepage>http://somethingaboutorange.com/mrl/projects/nose/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A unittest extension offering automatic test suite discovery and easy test authoring</Summary>
|
||||
<Description>python-nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic.</Description>
|
||||
<Archive sha1sum="97f2a04c9d43b29ddf4794a1a1d1ba803f1074c6" type="targz">https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-nose</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2015-08-04</Date>
|
||||
<Version>1.3.7</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-27</Date>
|
||||
<Version>1.3.3</Version>
|
||||
<Comment>Rebuild for gcc</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>1.3.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-17</Date>
|
||||
<Version>1.3.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-13</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-nose</Name>
|
||||
<Summary xml:lang="tr">Python için unittest genişlemesi</Summary>
|
||||
<Description xml:lang="tr">python-nose alternatif test tanıtma ve keşif kitaplığı.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "pyaspects-%s" % get.srcVERSION()
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-pyaspects</Name>
|
||||
<Homepage>http://github.com/baris/pyaspects</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Aspect-Oriented development for Python</Summary>
|
||||
<Description>Aspect-Oriented Development modules for Python.</Description>
|
||||
<Archive sha1sum="34af2c49c880535cdada1697c9c287939b2b7091" type="targz">https://github.com/baris/pyaspects/archive/0.4.4.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-pyaspects</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2013-12-07</Date>
|
||||
<Version>0.4.4</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>0.4.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pyaspects</Name>
|
||||
<Summary xml:lang="tr">Python için Aspect-Oriented kitaplığı</Summary>
|
||||
<Description xml:lang="tr">Python için Aspect-Oriented kitaplığı.</Description>
|
||||
<Description xml:lang="es">Módulos Python para desarrollo orientado a Aspect.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
#WorkDir = "pyblock-0.47-1_20100712"
|
||||
|
||||
def build():
|
||||
shelltools.export("CFLAGS", "%s -g -I/usr/include/%s -Wall -Werror -fPIC" % (get.CFLAGS(), get.curPYTHON()))
|
||||
shelltools.export("LDFLAGS", "%s -shared" % get.LDFLAGS())
|
||||
autotools.make("USESELINUX=0")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
@@ -0,0 +1,19 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1b40530..dfaf3f7 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -12,12 +12,12 @@ VERSION := $(shell awk '/Version:/ { print $$2 }' python-pyblock.spec)
|
||||
RELEASE := $(shell awk -F '[ %]' '/Release:/ { print $$2 }' python-pyblock.spec)
|
||||
USESELINUX = 1
|
||||
|
||||
-dm_LIBS = dmraid devmapper
|
||||
+dm_LIBS = devmapper python2.7
|
||||
ifeq (1, $(USESELINUX))
|
||||
dm_LIBS += selinux
|
||||
CFLAGS += -DUSESELINUX=1
|
||||
endif
|
||||
-dmraid_LIBS = dmraid devmapper
|
||||
+dmraid_LIBS = dmraid python2.7
|
||||
|
||||
PYFILES=__init__.py maps.py device.py
|
||||
LIBS = dmmodule.so dmraidmodule.so
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-pyblock</Name>
|
||||
<Homepage>http://git.fedoraproject.org/git/pyblock.git</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>GPLv3</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python modules for dealing with block devices</Summary>
|
||||
<Description>The pyblock contains Python modules for dealing with block devices.</Description>
|
||||
<Archive sha1sum="036fdebb7fb67a13f702a55735cf2f65cff37bd2" type="tarbz2">https://pkgs.fedoraproject.org/repo/pkgs/python-pyblock/pyblock-0.53.tar.bz2/f6d33a8362dee358517d0a9e2ebdd044/pyblock-0.53.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>device-mapper-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>dmraid-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">fix-underlinking.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-pyblock</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>device-mapper</Dependency>
|
||||
<Dependency>dmraid</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-08-04</Date>
|
||||
<Version>0.53</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-12-07</Date>
|
||||
<Version>0.53_20111208</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-05-05</Date>
|
||||
<Version>0.53_20111208</Version>
|
||||
<Comment>Dep Fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-19</Date>
|
||||
<Version>0.53_20111208</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-pyblock</Name>
|
||||
<Summary xml:lang="tr">Blok aygıtları ile ilgili python modülleri içerir</Summary>
|
||||
<Description xml:lang="tr">Pyblock blok aygıtları ile ilgili python modülleri içerir</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
pisitools.remove("/usr/lib/%s/site-packages/pyudev/pyside.py" % get.curPYTHON())
|
||||
|
||||
pisitools.dodoc("CHANGES.rst", "COPYING", "PKG-INFO", "README.rst")
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-udev</Name>
|
||||
<Homepage>http://packages.python.org/pyudev</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python bindings for libudev library</Summary>
|
||||
<Description>These bindings enable using of udev library in Python programs.</Description>
|
||||
<Archive sha1sum="b36bc5c553ce9b56d32a5e45063a2c88156771c0" type="targz">https://pypi.python.org/packages/source/p/pyudev/pyudev-0.16.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-udev</Name>
|
||||
<RuntimeDependencies>
|
||||
<!--Dependency>python-pygobject</Dependency-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python-udev-qt</Name>
|
||||
<Summary>Qt bindings for libudev library</Summary>
|
||||
<Description>These bindings provide udev capability for Python programs where Qt is used.</Description>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python-udev</Dependency>
|
||||
<Dependency>python-qt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python2*/site-packages/pyudev/pyqt4.py</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-08-04</Date>
|
||||
<Version>0.16.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-24</Date>
|
||||
<Version>0.16.1</Version>
|
||||
<Comment>Release bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-06-26</Date>
|
||||
<Version>0.16.1</Version>
|
||||
<Comment>V.bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-07-11</Date>
|
||||
<Version>0.11</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-udev</Name>
|
||||
<Summary xml:lang="tr">libudev için Python bağlayıcısı</Summary>
|
||||
<Description xml:lang="tr">Bu bağlayıcı, Python programlarında, udev kitaplığı olan libudev'in işlevselliğinden yararlanmayı sağlar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-udev-qt</Name>
|
||||
<Summary xml:lang="tr">libudev için Qt bağlayıcısı</Summary>
|
||||
<Description xml:lang="tr">Bu bağlayıcı, Qt kullanan Python programlarının, udev kitaplığı olan libudev'i kullanabilmesini sağlar.</Description>
|
||||
</Package>
|
||||
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user