From b7f3e05d5fbc400fd5c3666789bbc48bec04433d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Tue, 4 Aug 2015 13:47:51 +0300 Subject: [PATCH] part 2 --yali deps-- --- hardware/disk/dmraid/actions.py | 34 ++++++ .../dmraid-1.0.0_rc16-return-all-sets.patch | 11 ++ ...dmraid-1.0.0_rc16-static-build-fixes.patch | 110 ++++++++++++++++++ .../dmraid-1.0.0_rc16-undo-p-rename.patch | 13 +++ hardware/disk/dmraid/files/dmraid-diet.patch | 11 ++ hardware/disk/dmraid/pspec.xml | 85 ++++++++++++++ hardware/disk/dmraid/translations.xml | 13 +++ .../language/python/pyparted/actions.py | 15 +++ .../language/python/pyparted/pspec.xml | 73 ++++++++++++ .../language/python/pyparted/translations.xml | 9 ++ .../python/python-decorator/actions.py | 16 +++ .../python/python-decorator/pspec.xml | 60 ++++++++++ .../python/python-decorator/translations.xml | 8 ++ .../language/python/python-nose/actions.py | 26 +++++ .../language/python/python-nose/pspec.xml | 66 +++++++++++ .../python/python-nose/translations.xml | 8 ++ .../python/python-pyaspects/actions.py | 12 ++ .../python/python-pyaspects/pspec.xml | 42 +++++++ .../python/python-pyaspects/translations.xml | 9 ++ .../language/python/python-pyblock/actions.py | 19 +++ .../files/fix-underlinking.patch | 19 +++ .../language/python/python-pyblock/pspec.xml | 70 +++++++++++ .../python/python-pyblock/translations.xml | 8 ++ .../language/python/python-udev/actions.py | 18 +++ .../language/python/python-udev/pspec.xml | 76 ++++++++++++ .../python/python-udev/translations.xml | 15 +++ 26 files changed, 846 insertions(+) create mode 100644 hardware/disk/dmraid/actions.py create mode 100644 hardware/disk/dmraid/files/dmraid-1.0.0_rc16-return-all-sets.patch create mode 100644 hardware/disk/dmraid/files/dmraid-1.0.0_rc16-static-build-fixes.patch create mode 100644 hardware/disk/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch create mode 100644 hardware/disk/dmraid/files/dmraid-diet.patch create mode 100644 hardware/disk/dmraid/pspec.xml create mode 100644 hardware/disk/dmraid/translations.xml create mode 100644 programming/language/python/pyparted/actions.py create mode 100644 programming/language/python/pyparted/pspec.xml create mode 100644 programming/language/python/pyparted/translations.xml create mode 100644 programming/language/python/python-decorator/actions.py create mode 100644 programming/language/python/python-decorator/pspec.xml create mode 100644 programming/language/python/python-decorator/translations.xml create mode 100644 programming/language/python/python-nose/actions.py create mode 100644 programming/language/python/python-nose/pspec.xml create mode 100644 programming/language/python/python-nose/translations.xml create mode 100644 programming/language/python/python-pyaspects/actions.py create mode 100644 programming/language/python/python-pyaspects/pspec.xml create mode 100644 programming/language/python/python-pyaspects/translations.xml create mode 100644 programming/language/python/python-pyblock/actions.py create mode 100644 programming/language/python/python-pyblock/files/fix-underlinking.patch create mode 100644 programming/language/python/python-pyblock/pspec.xml create mode 100644 programming/language/python/python-pyblock/translations.xml create mode 100644 programming/language/python/python-udev/actions.py create mode 100644 programming/language/python/python-udev/pspec.xml create mode 100644 programming/language/python/python-udev/translations.xml diff --git a/hardware/disk/dmraid/actions.py b/hardware/disk/dmraid/actions.py new file mode 100644 index 0000000000..1efb89b834 --- /dev/null +++ b/hardware/disk/dmraid/actions.py @@ -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/*") diff --git a/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-return-all-sets.patch b/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-return-all-sets.patch new file mode 100644 index 0000000000..1e6c713224 --- /dev/null +++ b/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-return-all-sets.patch @@ -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; + } + + /* diff --git a/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-static-build-fixes.patch b/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-static-build-fixes.patch new file mode 100644 index 0000000000..298811701e --- /dev/null +++ b/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-static-build-fixes.patch @@ -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) \ No newline at end of file diff --git a/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch b/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch new file mode 100644 index 0000000000..6636b05630 --- /dev/null +++ b/hardware/disk/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch @@ -0,0 +1,13 @@ +Author: Giuseppe Iuculano +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); + } + diff --git a/hardware/disk/dmraid/files/dmraid-diet.patch b/hardware/disk/dmraid/files/dmraid-diet.patch new file mode 100644 index 0000000000..c0a7c7c10f --- /dev/null +++ b/hardware/disk/dmraid/files/dmraid-diet.patch @@ -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 diff --git a/hardware/disk/dmraid/pspec.xml b/hardware/disk/dmraid/pspec.xml new file mode 100644 index 0000000000..c97017350f --- /dev/null +++ b/hardware/disk/dmraid/pspec.xml @@ -0,0 +1,85 @@ + + + + + dmraid + http://people.redhat.com/~heinzm/sw/dmraid + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Device-Mapper Software RAID support tool and library + Device-Mapper Software RAID support tool and library + http://launchpad.net/dmraid/1.0/1.0.0.rc16-3/+download/dmraid-1.0.0.rc16-3.tar.bz2 + + device-mapper-event-devel + device-mapper-devel + + + dmraid-diet.patch + dmraid-1.0.0_rc16-return-all-sets.patch + dmraid-1.0.0_rc16-static-build-fixes.patch + dmraid-1.0.0_rc16-undo-p-rename.patch + + + + + dmraid + + device-mapper + device-mapper-event + + + /usr/sbin + /usr/lib + /usr/share/doc + /usr/share/man + + + + + dmraid-devel + Development files for dmraid + + dmraid + + + /usr/include + + + + + + + 2014-02-17 + 1.0.0_rc16 + Release. + PisiLinux Community + admins@pisilinux.org + + + 2013-03-15 + 1.0.0_rc16 + V.Bump + PisiLinux Community + admins@pisilinux.org + + + 2010-10-13 + 1.0.0_rc15 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/hardware/disk/dmraid/translations.xml b/hardware/disk/dmraid/translations.xml new file mode 100644 index 0000000000..c3afe6a661 --- /dev/null +++ b/hardware/disk/dmraid/translations.xml @@ -0,0 +1,13 @@ + + + + dmraid + ATARAID aygıtlarını (Yazılımsal RAID) denetleme aracı + ATARAID aygıtları yaratmak, yönetmek ve izlemek için kullanılan bir araçtır. + + + + dmraid-devel + dmraid için geliştirme dosyaları + + diff --git a/programming/language/python/pyparted/actions.py b/programming/language/python/pyparted/actions.py new file mode 100644 index 0000000000..66d5657a1c --- /dev/null +++ b/programming/language/python/pyparted/actions.py @@ -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()) diff --git a/programming/language/python/pyparted/pspec.xml b/programming/language/python/pyparted/pspec.xml new file mode 100644 index 0000000000..fbcd3bf81e --- /dev/null +++ b/programming/language/python/pyparted/pspec.xml @@ -0,0 +1,73 @@ + + + + + pyparted + http://people.redhat.com/dcantrel/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + library + Python bindings for parted + 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. + https://github.com/rhinstaller/pyparted/archive/v3.10.5.tar.gz + + python-decorator + python-devel + parted-devel + + + + + pyparted + + python-decorator + parted + python + + + /usr/lib + /usr/share/doc + + + + + + 2015-08-04 + 3.10.5 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-06-21 + 3.10.0 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-08-09 + 3.9.5 + Revert back to 3.9 latest stable series. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-03 + 3.10 + Version bump + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2012-10-24 + 3.8 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + diff --git a/programming/language/python/pyparted/translations.xml b/programming/language/python/pyparted/translations.xml new file mode 100644 index 0000000000..4dc9e69dc1 --- /dev/null +++ b/programming/language/python/pyparted/translations.xml @@ -0,0 +1,9 @@ + + + + pyparted + Disk bölümleme tablolarını yönetmek için kullanılan parted kütüphanesine erişim sağlayan Python modülü. + 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. + 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. + + diff --git a/programming/language/python/python-decorator/actions.py b/programming/language/python/python-decorator/actions.py new file mode 100644 index 0000000000..60afb1d924 --- /dev/null +++ b/programming/language/python/python-decorator/actions.py @@ -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() + diff --git a/programming/language/python/python-decorator/pspec.xml b/programming/language/python/python-decorator/pspec.xml new file mode 100644 index 0000000000..34eb75ae48 --- /dev/null +++ b/programming/language/python/python-decorator/pspec.xml @@ -0,0 +1,60 @@ + + + + + python-decorator + http://www.phyast.pitt.edu/~micheles/python/ + + PisiLinux Community + admins@pisilinux.org + + BSD + library + Python module to simplify the usage of decorators + python-decorator simplifies the usage of decorators for the average programmer. + http://pypi.python.org/packages/source/d/decorator/decorator-4.0.2.tar.gz + + python-nose + python-setuptools + + + + + python-decorator + + /usr/lib + /usr/share/doc + + + + + + 2015-08-04 + 4.0.2 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-06-21 + 3.4.2 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2013-11-06 + 3.4.0 + Rebuild + Erdinç Gültekin + admins@pisilinux.org + + + 2012-11-11 + 3.4.0 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/programming/language/python/python-decorator/translations.xml b/programming/language/python/python-decorator/translations.xml new file mode 100644 index 0000000000..8437dc1068 --- /dev/null +++ b/programming/language/python/python-decorator/translations.xml @@ -0,0 +1,8 @@ + + + + python-decorator + Dekoratör kullanımını kolaylaştıran python modulü + python-decorator, ortalama bir Python programcısı için dekoratör kullanımını basitleştirir. + + diff --git a/programming/language/python/python-nose/actions.py b/programming/language/python/python-nose/actions.py new file mode 100644 index 0000000000..b999c99f2c --- /dev/null +++ b/programming/language/python/python-nose/actions.py @@ -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/*") diff --git a/programming/language/python/python-nose/pspec.xml b/programming/language/python/python-nose/pspec.xml new file mode 100644 index 0000000000..627581e449 --- /dev/null +++ b/programming/language/python/python-nose/pspec.xml @@ -0,0 +1,66 @@ + + + + + python-nose + http://somethingaboutorange.com/mrl/projects/nose/ + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + app:console + A unittest extension offering automatic test suite discovery and easy test authoring + 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. + https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz + + + + python-nose + + /usr/lib + /usr/share/man + /usr/share/doc + /usr/bin + + + + + + 2015-08-04 + 1.3.7 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-05-27 + 1.3.3 + Rebuild for gcc + PisiLinux Community + admins@pisilinux.org + + + 2014-05-21 + 1.3.3 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-11-17 + 1.3.0 + Version bump + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2012-10-13 + 1.2.1 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/programming/language/python/python-nose/translations.xml b/programming/language/python/python-nose/translations.xml new file mode 100644 index 0000000000..79c6cc2f02 --- /dev/null +++ b/programming/language/python/python-nose/translations.xml @@ -0,0 +1,8 @@ + + + + python-nose + Python için unittest genişlemesi + python-nose alternatif test tanıtma ve keşif kitaplığı. + + diff --git a/programming/language/python/python-pyaspects/actions.py b/programming/language/python/python-pyaspects/actions.py new file mode 100644 index 0000000000..968051823b --- /dev/null +++ b/programming/language/python/python-pyaspects/actions.py @@ -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() diff --git a/programming/language/python/python-pyaspects/pspec.xml b/programming/language/python/python-pyaspects/pspec.xml new file mode 100644 index 0000000000..b0630e1b13 --- /dev/null +++ b/programming/language/python/python-pyaspects/pspec.xml @@ -0,0 +1,42 @@ + + + + + python-pyaspects + http://github.com/baris/pyaspects + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + Aspect-Oriented development for Python + Aspect-Oriented Development modules for Python. + https://github.com/baris/pyaspects/archive/0.4.4.tar.gz + + + + python-pyaspects + + /usr/lib + /usr/share/doc + + + + + + 2013-12-07 + 0.4.4 + Version bump + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2010-10-13 + 0.4.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/language/python/python-pyaspects/translations.xml b/programming/language/python/python-pyaspects/translations.xml new file mode 100644 index 0000000000..6654eb7876 --- /dev/null +++ b/programming/language/python/python-pyaspects/translations.xml @@ -0,0 +1,9 @@ + + + + pyaspects + Python için Aspect-Oriented kitaplığı + Python için Aspect-Oriented kitaplığı. + Módulos Python para desarrollo orientado a Aspect. + + diff --git a/programming/language/python/python-pyblock/actions.py b/programming/language/python/python-pyblock/actions.py new file mode 100644 index 0000000000..0a34d1449d --- /dev/null +++ b/programming/language/python/python-pyblock/actions.py @@ -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()) diff --git a/programming/language/python/python-pyblock/files/fix-underlinking.patch b/programming/language/python/python-pyblock/files/fix-underlinking.patch new file mode 100644 index 0000000000..8a4e7e81f2 --- /dev/null +++ b/programming/language/python/python-pyblock/files/fix-underlinking.patch @@ -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 diff --git a/programming/language/python/python-pyblock/pspec.xml b/programming/language/python/python-pyblock/pspec.xml new file mode 100644 index 0000000000..d03a81f40f --- /dev/null +++ b/programming/language/python/python-pyblock/pspec.xml @@ -0,0 +1,70 @@ + + + + + python-pyblock + http://git.fedoraproject.org/git/pyblock.git + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + GPLv3 + library + Python modules for dealing with block devices + The pyblock contains Python modules for dealing with block devices. + https://pkgs.fedoraproject.org/repo/pkgs/python-pyblock/pyblock-0.53.tar.bz2/f6d33a8362dee358517d0a9e2ebdd044/pyblock-0.53.tar.bz2 + + device-mapper-devel + python-devel + dmraid-devel + + + fix-underlinking.patch + + + + + python-pyblock + + device-mapper + dmraid + python + + + /usr/lib + /usr/share/doc + + + + + + 2015-08-04 + 0.53 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2013-12-07 + 0.53_20111208 + Rebuild + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2013-05-05 + 0.53_20111208 + Dep Fixed + PisiLinux Community + admins@pisilinux.org + + + 2012-11-19 + 0.53_20111208 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + \ No newline at end of file diff --git a/programming/language/python/python-pyblock/translations.xml b/programming/language/python/python-pyblock/translations.xml new file mode 100644 index 0000000000..444c205fb3 --- /dev/null +++ b/programming/language/python/python-pyblock/translations.xml @@ -0,0 +1,8 @@ + + + + python-pyblock + Blok aygıtları ile ilgili python modülleri içerir + Pyblock blok aygıtları ile ilgili python modülleri içerir + + diff --git a/programming/language/python/python-udev/actions.py b/programming/language/python/python-udev/actions.py new file mode 100644 index 0000000000..e61c270d25 --- /dev/null +++ b/programming/language/python/python-udev/actions.py @@ -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") diff --git a/programming/language/python/python-udev/pspec.xml b/programming/language/python/python-udev/pspec.xml new file mode 100644 index 0000000000..c119172ed3 --- /dev/null +++ b/programming/language/python/python-udev/pspec.xml @@ -0,0 +1,76 @@ + + + + + python-udev + http://packages.python.org/pyudev + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + Python bindings for libudev library + These bindings enable using of udev library in Python programs. + https://pypi.python.org/packages/source/p/pyudev/pyudev-0.16.1.tar.gz + + python-setuptools + eudev-devel + + + + + python-udev + + + + + /usr/lib + /usr/share/doc + + + + + python-udev-qt + Qt bindings for libudev library + These bindings provide udev capability for Python programs where Qt is used. + + python-udev + python-qt + + + /usr/lib/python2*/site-packages/pyudev/pyqt4.py + + + + + + 2015-08-04 + 0.16.1 + Rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-24 + 0.16.1 + Release bump + PisiLinux Community + admins@pisilinux.org + + + 2013-06-26 + 0.16.1 + V.bump + PisiLinux Community + admins@pisilinux.org + + + 2011-07-11 + 0.11 + First release + Pisi Linux Admins + admins@pisilinux.org + + + \ No newline at end of file diff --git a/programming/language/python/python-udev/translations.xml b/programming/language/python/python-udev/translations.xml new file mode 100644 index 0000000000..6fbfa8a638 --- /dev/null +++ b/programming/language/python/python-udev/translations.xml @@ -0,0 +1,15 @@ + + + + python-udev + libudev için Python bağlayıcısı + Bu bağlayıcı, Python programlarında, udev kitaplığı olan libudev'in işlevselliğinden yararlanmayı sağlar. + + + + python-udev-qt + libudev için Qt bağlayıcısı + Bu bağlayıcı, Qt kullanan Python programlarının, udev kitaplığı olan libudev'i kullanabilmesini sağlar. + + +