Attached file ruby-postgres.tar.gz contains ruby-postgres-0.7.1.ebuild, Changelog, files/digest-ruby-postgres-0.7.1 ruby-postgres is an extension library to access a PostgreSQL database from Ruby. Details about the library can be found at http://www.postgresql.jp/interfaces/ruby/ Requirements ---- Ruby 1.3.4 or later. PostgreSQL 6.4 or later. Reproducible: Always Steps to Reproduce: 1. 2. 3. my bugs.gentoo.org email address is incorrect. I can be contacted at jjames@somepoint.org.
Created attachment 11704 [details] ruby-postgres-0.7.1 This is my first attempt at submitting an ebuild. Please let me know if there is something I should do differently in the future. jjames@somepoint.org
Jeremy, Thanks for the ebuild. I'll put it in portage shortly. Some guidelines: 1) You only need to submit the .ebuild file itself. The digest is generated automatically and the ChangeLog is created/updated by whoever commits it to portage. 2) No need to tar everything up. Instead please add .ebuilds as single files with a type of plain/text. They can then be viewed in Bugzilla. 3) RDEPEND should not be set if it's the same as DEPEND (ruby-postgres still needs ruby and postgresql to run!) Everything looks great.
Now in CVS. BTW, ${S} defaults to ${WORKDIR}/${P} so no need to set it explicitly.
Jeremy -- Hope you see this. I tried to email you but got a bounce: jjames@somepoint.org It appears that the DNS operator for somepoint.org has installed an invalid MX record with an IP address instead of a domain name on the right hand side. Email zhen@gentoo.org for bugzilla changes. Regards, Tom
This worked fine for me but only AFTER I set : export POSTGRES_INCLUDE=/usr/include/postgresql/pgsql in the shell before emerging it. Otherwise I got : >>> emerge (1 of 7) dev-ruby/ruby-postgres-0.7.1 to / >>> md5 files ;-) metadata.xml >>> md5 files ;-) ChangeLog >>> md5 files ;-) ruby-postgres-0.7.1.ebuild >>> md5 files ;-) files/digest-ruby-postgres-0.7.1 >>> md5 src_uri ;-) ruby-postgres-0.7.1.tar.gz >>> Unpacking source... >>> Unpacking ruby-postgres-0.7.1.tar.gz to /var/tmp/portage/ruby-postgres-0.7.1/work >>> Source unpacked. checking for cygwin32_socket() in -lwsock32... no checking for socket() in -lsocket... no checking for gethostbyname() in -linet... no checking for gethostbyname() in -lnsl... yes checking for sys/un.h... yes checking for socket()... yes checking for hsterror()... no checking for gethostname()... yes checking for PQsetdbLogin() in -lpq... yes checking for PQsetClientEncoding()... yes checking for pg_encoding_to_char()... yes checking for PQescapeString()... yes creating Makefile i486-pc-linux-gnu-gcc -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_SYS_UN_H -DHAVE_SOCKET -DHAVE_GETHOSTNAME -DHAVE_PQSETCLIENTENCODING -DHAVE_PG_ENCODING_TO_CHAR -DHAVE_PQESCAPESTRING -c postgres.c postgres.c:19:70: libpq/libpq-fs.h: No such file or directory